Skip to content

Commit 844ec2c

Browse files
author
Alex Wang
committed
fix: increase max_retries for acceptance tests function create
- Sometimes the function is still being deleted when we exausted the default 5 retries. Increase max_retry for resource_conflict to 8.
1 parent 6b6361d commit 844ec2c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

examples/cli.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -345,6 +345,7 @@ def deploy_function(example_name: str, function_name: str | None = None):
345345
lambda_client.update_function_code,
346346
FunctionName=function_name,
347347
ZipFile=zip_content,
348+
max_retries=8,
348349
)
349350
retry_on_resource_conflict(
350351
lambda_client.update_function_configuration, **function_config

0 commit comments

Comments
 (0)