Skip to content

Commit 776f916

Browse files
committed
Fix flaky test
1 parent a574731 commit 776f916

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/durabletask-azuremanaged/test_dts_orchestration_e2e.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ def orchestrator(ctx: task.OrchestrationContext, _):
265265
# # Raise an event to the orchestration and confirm that it does NOT complete
266266
# task_hub_client.raise_orchestration_event(id, "my_event", data=42)
267267
# try:
268-
# state = task_hub_client.wait_for_orchestration_completion(id, timeout=3)
268+
# state = task_hub_client.wait_for_orchestration_completion(id, timeout=30)
269269
# assert False, "Orchestration should not have completed"
270270
# except TimeoutError:
271271
# pass

tests/durabletask/test_orchestration_e2e.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ def orchestrator(ctx: task.OrchestrationContext, _):
244244
# Raise an event to the orchestration and confirm that it does NOT complete
245245
task_hub_client.raise_orchestration_event(id, "my_event", data=42)
246246
try:
247-
state = task_hub_client.wait_for_orchestration_completion(id, timeout=3)
247+
state = task_hub_client.wait_for_orchestration_completion(id, timeout=30)
248248
assert False, "Orchestration should not have completed"
249249
except TimeoutError:
250250
pass

0 commit comments

Comments
 (0)