Skip to content

Commit e48887e

Browse files
zoewanggsugmanue
authored andcommitted
Increase HTTP test suite wiremock rule creation max attempts to fix flaky tests (#5443)
1 parent d8675fc commit e48887e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/http-client-tests/src/main/java/software/amazon/awssdk/http/SdkHttpClientTestSuite.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@ public void trustAll(boolean trustAll) {
363363
}
364364

365365
private WireMockRule createWireMockRule() {
366-
int maxAttempts = 5;
366+
int maxAttempts = 10;
367367
for (int i = 0; i < maxAttempts; ++i) {
368368
try {
369369
return new WireMockRule(wireMockConfig().dynamicPort()

0 commit comments

Comments
 (0)