lburgazzoli edited a comment on issue #3296:
URL: https://github.com/apache/camel-quarkus/issues/3296#issuecomment-1005012766


   I may be out of context and in such case, please discard my message :) , but 
isn't the test resource already using a random port ?
   
   My understanding is that the call to `withExposedPorts(11222);` setting the 
port from the point of view of the container but  for the host, then it will be 
a random port and you can get it with `container.getMappedPort(11222)`. The 
test resource seems to do so here: 
https://github.com/quarkusio/quarkus/blob/main/test-framework/infinispan-client/src/main/java/io/quarkus/test/infinispan/client/InfinispanTestResource.java#L45-L46


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to