quarkus.http.test-port=0 and RestAssured

286 views
Skip to first unread message

William Burke

unread,
Feb 17, 2022, 10:56:48 AM2/17/22
to Quarkus Development mailing list
Anybody know how RestAssured in tests gets the correct port when quarkus-http-test-port=0?  I'm trying to do the same for lambda which uses a different config attribute.  I have it working for a specific port, but not when the port is zero.

--
Bill Burke
Red Hat

George Gastaldi

unread,
Feb 17, 2022, 11:20:56 AM2/17/22
to William Burke, Quarkus Development mailing list
AFAIR the quarkus.http.test.port system property is set to the resolved port (https://github.com/quarkusio/quarkus/blob/0285dc6665c850bf64a41e5195fb91450c303ec1/extensions/vertx-http/runtime/src/main/java/io/quarkus/vertx/http/runtime/VertxHttpRecorder.java#L1093) and it is read in the RestAssuredURLManager. 



--
You received this message because you are subscribed to the Google Groups "Quarkus Development mailing list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to quarkus-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/quarkus-dev/CAL%3DE%3DjT3dm8C3VfbGw_82G88j%2BpprFX3tqwsSLztF%2B1hbS9FwA%40mail.gmail.com.

William Burke

unread,
Feb 17, 2022, 11:27:48 AM2/17/22
to George Gastaldi, Quarkus Development mailing list
Just found that...sorry I wasted your time.
Reply all
Reply to author
Forward
0 new messages