diff --git a/codex-rs/app-server/BUILD.bazel b/codex-rs/app-server/BUILD.bazel index f32f811627..0930670ca5 100644 --- a/codex-rs/app-server/BUILD.bazel +++ b/codex-rs/app-server/BUILD.bazel @@ -6,6 +6,7 @@ codex_rust_crate( integration_test_tags_extra_by_stem = { "all": ["flaky"], }, + integration_test_args = ["--test-threads=4"], integration_test_timeout = "long", test_tags = ["no-sandbox"], ) diff --git a/codex-rs/core/src/tools/handlers/multi_agents_tests.rs b/codex-rs/core/src/tools/handlers/multi_agents_tests.rs index a06c5c2376..bfa46f45bf 100644 --- a/codex-rs/core/src/tools/handlers/multi_agents_tests.rs +++ b/codex-rs/core/src/tools/handlers/multi_agents_tests.rs @@ -182,7 +182,7 @@ async fn wait_for_redirected_envelope_in_history( thread: &Arc, expected: &InterAgentCommunication, ) { - timeout(Duration::from_secs(5), async { + timeout(Duration::from_secs(30), async { loop { let history_items = thread .codex