Skip to content

Commit fcbffba

Browse files
authored
mockServer in WaitersUserAgentTest attached to dynamicPort to prevent failed to bind 8080 exceptions (#3338)
1 parent 70d729f commit fcbffba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

services/dynamodb/src/test/java/software/amazon/awssdk/services/dynamodb/WaitersUserAgentTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
public class WaitersUserAgentTest {
4949

5050
@Rule
51-
public WireMockRule mockServer = new WireMockRule(options().notifier(new ConsoleNotifier(true)).dynamicHttpsPort());
51+
public WireMockRule mockServer = new WireMockRule(options().notifier(new ConsoleNotifier(true)).dynamicHttpsPort().dynamicPort());
5252

5353
private DynamoDbClient dynamoDbClient;
5454
private DynamoDbAsyncClient dynamoDbAsyncClient;

0 commit comments

Comments
 (0)