Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Matvey-Kuk committed Jan 7, 2025
1 parent 7c95b27 commit b216708
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/test_workflow_execution.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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()
Expand Down

0 comments on commit b216708

Please sign in to comment.