Skip to content

Commit 734fa67

Browse files
committed
make retry timeout slower to try to pass in ci
Signed-off-by: Filinto Duran <1373693+filintod@users.noreply.github.com>
1 parent 74c045a commit 734fa67

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/durabletask/test_orchestration_e2e.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -582,11 +582,11 @@ def test_retry_timeout():
582582
# So, the 5th attempt (which would happen at 1.75s) should not be made.
583583
throw_activity_counter = 0
584584
retry_policy = task.RetryPolicy(
585-
first_retry_interval=timedelta(seconds=0.25),
585+
first_retry_interval=timedelta(seconds=1),
586586
max_number_of_attempts=5,
587587
backoff_coefficient=2,
588-
max_retry_interval=timedelta(seconds=2),
589-
retry_timeout=timedelta(seconds=1.7), # Set just before 4th attempt
588+
max_retry_interval=timedelta(seconds=10),
589+
retry_timeout=timedelta(seconds=13), # Set just before 4th attempt
590590
)
591591

592592
def mock_orchestrator(ctx: task.OrchestrationContext, _):

0 commit comments

Comments
 (0)