From d1d918f09a0fab55978fd5950f23199ba9ccdd17 Mon Sep 17 00:00:00 2001 From: Michael Bolin Date: Wed, 14 May 2025 10:03:32 -0700 Subject: [PATCH] fix: increase timeout for test_dev_null_write --- 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 bc5713b29d..6e9b8de7c6 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]