diff --git a/tests/test_live_workflow.py b/tests/test_live_workflow.py index db943870..b60489e9 100644 --- a/tests/test_live_workflow.py +++ b/tests/test_live_workflow.py @@ -88,7 +88,9 @@ def test_full_live_workflow(live_gui) -> None: # Wait for project switch to complete (deterministic, condition-based). # Replaces the prior 10x1s blind poll of derived state. - status = client.wait_for_project_switch(expected_path=temp_project_path, timeout=30.0) + # Timeout is 120s: in batch context, prior sims' AI discussion turn workers + # can saturate the 8-worker io_pool, queueing this switch for tens of seconds. + status = client.wait_for_project_switch(expected_path=temp_project_path, timeout=120.0) assert not status.get("timeout"), ( f"Project switch did not complete in 30s. Last status: {status}" )