Skip to content

Commit a34d62a

Browse files
committed
Increased integration tests retry limit and improved sleep interval between failed attempts
1 parent 231c894 commit a34d62a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/integration/workflow/test_workflow_execution.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -309,11 +309,11 @@ def _rerun_workflow(workflow_executor: WorkflowExecutor, workflow_id: str) -> No
309309
)
310310

311311

312-
def _run_with_retry_attempt(f, params, retries=3) -> None:
312+
def _run_with_retry_attempt(f, params, retries=5) -> None:
313313
for attempt in range(retries):
314314
try:
315315
return f(**params)
316316
except Exception as e:
317317
if attempt == retries - 1:
318318
raise e
319-
sleep(attempt + 1)
319+
sleep((attempt + 1) * 10)

0 commit comments

Comments
 (0)