gradle Aerospike REST网关,生成失败,出现异常

6fe3ivhb  于 2022-11-24  发布在  其他
关注(0)|答案(1)|浏览(162)

我试图安装Aerospike REST网关,运行第一个命令./gradlew build(并等待2小时)后,它显示如下:

2142 tests completed, 1660 failed

> Task :test FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':test'.
> There were failing tests. See the report at: file:///home/andalabs/aerospike-rest-gateway/build/reports/tests/test/index.html

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.

* Get more help at https://help.gradle.org

Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

See https://docs.gradle.org/7.3.1/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 2h 57m 33s
8 actionable tasks: 8 executed

大多数失败的任务都是来自"com. aerospike. restclient"包,我不知道我该怎么做。
我在这里错过了什么?我使用Ubuntu 20

myzjeezk

myzjeezk1#

默认情况下,./gradlew build在生成jar文件之前运行测试。看起来集成测试失败,而单元测试通过。这可能是因为服务器在本地主机上不可用。请改为运行make build以绕过测试。

相关问题