Skip to content

Commit 9df8752

Browse files
committed
Fix flaky test DynamoDbJavaClientRetryOnTimeoutIntegrationTest
1 parent f8cacce commit 9df8752

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

services/dynamodb/src/it/java/software/amazon/awssdk/services/dynamodb/DynamoDbJavaClientRetryOnTimeoutIntegrationTest.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,8 @@ public static RetryPolicy createRetryPolicyWithCounter(AtomicInteger counter, In
6565
public void testRetryAttemptsOnTimeOut() throws Exception {
6666
AtomicInteger atomicInteger = new AtomicInteger(0);
6767
Boolean apiTimeOutExceptionOccurred = Boolean.FALSE;
68-
setupWithRetryPolicy(createRetryPolicyWithCounter(atomicInteger, RETRY_ATTEMPTS), 2);
68+
setupWithRetryPolicy(createRetryPolicyWithCounter(atomicInteger, RETRY_ATTEMPTS), 5);
6969
try {
70-
7170
ddb.listTables();
7271
} catch (ApiCallAttemptTimeoutException e) {
7372
apiTimeOutExceptionOccurred = true;

0 commit comments

Comments
 (0)