Skip to content

armgit / codex

Public Imported from GitHub
0

Lightweight coding agent that runs in your terminal

Rust

fix: increase timeout for test_dev_null_write (#933)

Michael Bolin399e819c9b9f
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]