You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The runner is executed with localhost:0 (instead of a random port). So it hangs, and then the test fails with:
Caused by: java.lang.RuntimeException: Unable to start native image in 60s
Expected behavior
The test should pass using a random port (like JVM mode tests).
Actual behavior
To Reproduce
Steps to reproduce the behavior:
Go to code.quarkus.io and generate a new project
mvn verify -Pnative works
Add the property quarkus.http.test-port=0to the application.properties file
mvn verify -Pnative FAILS
Configuration
quarkus.http.test-port=0
Environment (please complete the following information):
Output of uname -a or ver: Darwin iMac-Pro-de-Antonio.local 19.6.0 Darwin Kernel Version 19.6.0: Thu Jun 18 20:49:00 PDT 2020; root:xnu-6153.141.1~1/RELEASE_X86_64 x86_64
Output of java -version: java version "11.0.6" 2020-01-14 LTS
GraalVM version (if different from Java):
Quarkus version or git rev: 1.7.1-FINAL
Build tool (ie. output of mvnw --version or gradlew --version): 3.6.3_1
Additional context
(Add any other context about the problem here.)
Describe the bug
When running a native test with
quarkus.http.test-port=0
you get the following :The runner is executed with
localhost:0
(instead of a random port). So it hangs, and then the test fails with:Expected behavior
The test should pass using a random port (like JVM mode tests).
Actual behavior
To Reproduce
Steps to reproduce the behavior:
mvn verify -Pnative
worksquarkus.http.test-port=0
to theapplication.properties
filemvn verify -Pnative
FAILSConfiguration
quarkus.http.test-port=0
Environment (please complete the following information):
uname -a
orver
: Darwin iMac-Pro-de-Antonio.local 19.6.0 Darwin Kernel Version 19.6.0: Thu Jun 18 20:49:00 PDT 2020; root:xnu-6153.141.1~1/RELEASE_X86_64 x86_64java -version
: java version "11.0.6" 2020-01-14 LTSmvnw --version
orgradlew --version
): 3.6.3_1Additional context
(Add any other context about the problem here.)
quarkusio#11891
The text was updated successfully, but these errors were encountered: