Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit ff146e3

Browse files
committedSep 12, 2024·
Fix Idempotency test
1 parent 8e96bb1 commit ff146e3

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed
 

‎tests/e2e/idempotency/infrastructure.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,12 @@
77

88
class IdempotencyDynamoDBStack(BaseInfrastructure):
99
def create_resources(self):
10-
table = self._create_dynamodb_table(function_props={"timeout": Duration.seconds(10)})
10+
table = self._create_dynamodb_table()
1111

1212
env_vars = {"IdempotencyTable": table.table_name}
13-
functions = self.create_lambda_functions(function_props={"environment": env_vars})
13+
functions = self.create_lambda_functions(
14+
function_props={"environment": env_vars, "timeout": Duration.seconds(10)},
15+
)
1416

1517
table.grant_read_write_data(functions["TtlCacheExpirationHandler"])
1618
table.grant_read_write_data(functions["TtlCacheTimeoutHandler"])

0 commit comments

Comments
 (0)
Please sign in to comment.