This is an automated email from the ASF dual-hosted git repository.

coheigea pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cxf.git


The following commit(s) were added to refs/heads/master by this push:
     new b8a8d99620 Use a dynamic port for AsyncTest to avoid a clash with 8080
b8a8d99620 is described below

commit b8a8d996208faace956f84c4ee39791a35e63e22
Author: Colm O hEigeartaigh <[email protected]>
AuthorDate: Thu Apr 7 09:46:18 2022 +0100

    Use a dynamic port for AsyncTest to avoid a clash with 8080
---
 .../src/test/java/org/apache/cxf/microprofile/client/AsyncTest.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/rt/rs/microprofile-client/src/test/java/org/apache/cxf/microprofile/client/AsyncTest.java
 
b/rt/rs/microprofile-client/src/test/java/org/apache/cxf/microprofile/client/AsyncTest.java
index 64dfa2f894..b0e7f06022 100644
--- 
a/rt/rs/microprofile-client/src/test/java/org/apache/cxf/microprofile/client/AsyncTest.java
+++ 
b/rt/rs/microprofile-client/src/test/java/org/apache/cxf/microprofile/client/AsyncTest.java
@@ -50,7 +50,7 @@ public class AsyncTest {
     @SuppressWarnings("unchecked")
     @Rule
     public WireMockRule wireMockRule = new WireMockRule(wireMockConfig()
-        .extensions(SimpleTransformer.class));
+        .extensions(SimpleTransformer.class).dynamicPort());
     
     public static class SimpleTransformer extends ResponseTransformer {
         private final Queue<String> queue = new ArrayBlockingQueue<>(2);

Reply via email to