Skip to content

Commit

Permalink
test(lib-dynamodb): increase e2e timeout for lib-dynamodb (#5337)
Browse files Browse the repository at this point in the history
  • Loading branch information
kuhe authored Oct 10, 2023
1 parent 7477787 commit 931e349
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/lib-dynamodb/src/test/lib-dynamodb.e2e.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ import {
UpdateCommandOutput,
} from "@aws-sdk/lib-dynamodb";

jest.setTimeout(60000); // expected running time: 10s
// expected running time: table creation (~20s) + operations 10s
jest.setTimeout(180000);

describe(DynamoDBDocument.name, () => {
const dynamodb = new DynamoDB({ region: "us-west-2", maxAttempts: 10 });
Expand Down Expand Up @@ -157,7 +158,7 @@ describe(DynamoDBDocument.name, () => {
})
.catch(passError);
await waitUntilTableExists(
{ client: dynamodb, maxWaitTime: 60 },
{ client: dynamodb, maxWaitTime: 120 },
{
TableName,
}
Expand Down

0 comments on commit 931e349

Please sign in to comment.