From b216708cc90af4853d70896325014a0ce748cd1a Mon Sep 17 00:00:00 2001 From: Matvey Kukuy Date: Tue, 7 Jan 2025 14:01:57 +0100 Subject: [PATCH] fix --- tests/test_workflow_execution.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/test_workflow_execution.py b/tests/test_workflow_execution.py index 81e3f8821..b277df3d1 100644 --- a/tests/test_workflow_execution.py +++ b/tests/test_workflow_execution.py @@ -1482,6 +1482,7 @@ async def test_nested_conditional_flow( # Insert the alert into workflow manager await workflow_manager.start() + await asyncio.sleep(1) await workflow_manager.insert_events(SINGLE_TENANT_UUID, [current_alert]) # Wait for workflow execution @@ -1501,7 +1502,7 @@ async def test_nested_conditional_flow( elif workflow_execution is not None and workflow_execution.status == "error": raise Exception("Workflow execution failed") - await asyncio.sleep(1) + await asyncio.sleep(0.1) count += 1 await workflow_manager.stop()