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
geoand
changed the title
Fielad annotated with @TestHTTPResource is not properly set if running in native mode with random http port
Field annotated with @TestHTTPResource is not properly set if running in native mode with random http port
Sep 21, 2020
I could work around this in my project by not using a @TestHTTPResource annotated field, but grab the port out of RestAssured.port, which is correctly set to the captured port.
Describe the bug
@TestHTTPResource
is not properly set if running in native mode with random http portExpected behavior
Field annotated with
@TestHTTPResource
should contain the resoved portActual behavior
Field annotated with
@TestHTTPResource
contains port 0, which is the random portTo Reproduce
Link to a small reproducer (preferably a Maven project if the issue is not Gradle-specific).
https://github.com/tisoft/code-with-quarkus-issue-11891
Steps to reproduce the behavior:
Configuration
Environment (please complete the following information):
uname -a
orver
: Linux linux-ytxx.suse 5.3.18-lp152.41-default Switch to the Maven distributed copy of the SubstrateVM annotations #1 SMP Thu Sep 3 23:02:59 UTC 2020 (a4d139b) x86_64 x86_64 x86_64 GNU/Linujava -version
: openjdk version "11.0.8" 2020-07-14mvnw --version
orgradlew --version
): Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)Additional context
Releated to: #11891 (comment)
The text was updated successfully, but these errors were encountered: