From 399e819c9b9f98a68a8999787427902e2325f32d Mon Sep 17 00:00:00 2001 From: Michael Bolin Date: Wed, 14 May 2025 10:06:14 -0700 Subject: [PATCH] fix: increase timeout for test_dev_null_write (#933) After updating this test in https://github.com/openai/codex/pull/923, I have been getting some timeouts with this test in CI, so increasing the timeout to match that of `test_writable_root`: https://github.com/openai/codex/blob/327cf41f0ff7f0816a141a260704270ed38c9fa4/codex-rs/core/src/landlock.rs#L211-L213 --- codex-rs/core/src/landlock.rs | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/codex-rs/core/src/landlock.rs b/codex-rs/core/src/landlock.rs index bc5713b29..6e9b8de7c 100644 --- a/codex-rs/core/src/landlock.rs +++ b/codex-rs/core/src/landlock.rs @@ -194,7 +194,14 @@ mod tests { #[tokio::test] async fn test_dev_null_write() { - run_cmd(&["bash", "-lc", "echo blah > /dev/null"], &[], 200).await; + run_cmd( + &["bash", "-lc", "echo blah > /dev/null"], + &[], + // 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; } #[tokio::test]