From 38575ed8aa8556a1aa9a2b818165f60f9f11b204 Mon Sep 17 00:00:00 2001 From: Michael Bolin Date: Mon, 28 Apr 2025 13:09:27 -0700 Subject: [PATCH] fix: increase timeout of test_writable_root (#713) Although we made some promising fixes in https://github.com/openai/codex/pull/662, we are still seeing some flakiness in `test_writable_root()`. If this continues to flake with the more generous timeout, we should try something other than simply increasing the timeout. --- codex-rs/core/src/linux.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/codex-rs/core/src/linux.rs b/codex-rs/core/src/linux.rs index 64d9b93e..75d70e79 100644 --- a/codex-rs/core/src/linux.rs +++ b/codex-rs/core/src/linux.rs @@ -225,7 +225,9 @@ mod tests_linux { &format!("echo blah > {}", file_path.to_string_lossy()), ], &[tmpdir.path().to_path_buf()], - 500, + // We have seen timeouts when running this test in CI on GitHub, + // so we are using a generous timeout until we can diagnose further. + 1_000, ) .await; }