embedded-consul
embedded-consul copied to clipboard
com.pszymczyk.consul.MultipleProcessesTest failing on Mac OS X
~/D/r/embedded-consul (master=) ./gradlew clean build
> Task :groovydoc
Trying to override old definition of task fileScanner
> Task :test
==> Error starting agent: Failed to start Consul server: Failed to start RPC layer: listen tcp 127.0.0.10:65103: bind: can't assign requested address
com.pszymczyk.consul.MultipleProcessesTest > should run multiple Consul processes with same port simultaneously FAILED
java.lang.NullPointerException: Cannot invoke method close() on null object
at com.pszymczyk.consul.MultipleProcessesTest.should run multiple Consul processes with same port simultaneously(MultipleProcessesTest.groovy:63)
2018/12/04 22:09:47 [DEBUG] raft-net: 127.0.0.1:65346 accepted connection from: 127.0.0.1:65353
2018/12/04 22:09:47 [DEBUG] raft-net: 127.0.0.1:65346 accepted connection from: 127.0.0.1:65356
32 tests completed, 1 failed, 1 skipped
> 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:///Users/pszymczyk/Dev/repo/embedded-consul/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 5.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/4.9/userguide/command_line_interface.html#sec:command_line_warnings
BUILD FAILED in 2m 44s
8 actionable tasks: 8 executed
~/D/r/embedded-consul (master=)