Skip to content

Commit 169d2d8

Browse files
Alex Wangwangyb-A
authored andcommitted
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 d642104 commit 169d2d8

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
@@ -344,6 +344,7 @@ def deploy_function(example_name: str, function_name: str | None = None):
344344
lambda_client.update_function_code,
345345
FunctionName=function_name,
346346
ZipFile=zip_content,
347+
max_retries=8,
347348
)
348349
retry_on_resource_conflict(
349350
lambda_client.update_function_configuration, **function_config

0 commit comments

Comments
 (0)