Skip to content
Permalink
Browse files
Use a dynamic port for AsyncTest to avoid a clash with 8080
  • Loading branch information
coheigea committed Apr 7, 2022
1 parent bb0a3f1 commit b8a8d996208faace956f84c4ee39791a35e63e22
Showing 1 changed file with 1 addition and 1 deletion.
@@ -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);

0 comments on commit b8a8d99

Please sign in to comment.