Skip to content

Commit 219bead

Browse files
committed
fix(integration): increase max retries
1 parent c3d4675 commit 219bead

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/integrations/utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,13 +54,13 @@ def get_deployed_functions_by_name(client: Client, app_instance: Serverless):
5454
return {function.name: function for function in deployed_functions}
5555

5656

57-
def trigger_function(domain_name: str, max_retries: int = 10) -> requests.Response:
57+
def trigger_function(domain_name: str, max_retries: int = 20) -> requests.Response:
5858
url = f"https://{domain_name}"
5959
session = requests.Session()
6060
retries = Retry(
6161
total=max_retries,
6262
backoff_factor=2,
63-
status=10, # Status max retries
63+
status=max_retries, # Status max retries
6464
status_forcelist=[500, 404],
6565
raise_on_status=False, # Raise for status called after
6666
)

0 commit comments

Comments
 (0)