gpt4 book ai didi

automation - Vividus 工具不会在大小超过 4Gb 的项目中启动测试(需要 zip64 扩展)

转载 作者:行者123 更新时间:2023-12-03 23:46:53 29 4
gpt4 key购买 nike

我正在使用 Vividus 工具进行测试,但遇到了一个问题:在构建尝试启动几分钟后,我发现它失败并出现异常:

> Task :jar FAILED

FAILURE: Build failed with an exception.

*What went wrong:
Execution failed for task ':jar'.
> archive's size exceeds the limit of 4GByte.

To build this archive, please enable the zip64 extension.
See: https://docs.gradle.org/6.3/dsl/org.gradle.api.tasks.bundling.Zip.html#org.gradle.api.tasks.bundling.Zip:zip64

实际上,我们的项目确实有超过 4GB 的文档(屏幕截图和 Excel 表格)。所以我想知道是否有任何方法可以为 vividus 项目启用 zip64 扩展?

error message

最佳答案

Vividus 使用 Gradle 作为构建系统,问题描述为 here
您的测试项目超过了 4 GB 的默认 Jar 大小;

要解决此问题,请将以下属性设置为 build.gradle 文件中的 Jar 任务;

jar {
zip64 true
}

关于automation - Vividus 工具不会在大小超过 4Gb 的项目中启动测试(需要 zip64 扩展),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/62153004/

29 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com