Skip to content

armgit / codex

Public Imported from GitHub
0

Lightweight coding agent that runs in your terminal

Rust

deflake linux-sandbox NoNewPrivs timeout (#11245)

Josh McKinney34c88d10ea7b
diff --git a/codex-rs/linux-sandbox/tests/suite/landlock.rs b/codex-rs/linux-sandbox/tests/suite/landlock.rs
index 89243144fa..6623a3f09f 100644
--- a/codex-rs/linux-sandbox/tests/suite/landlock.rs
+++ b/codex-rs/linux-sandbox/tests/suite/landlock.rs
@@ -199,7 +199,9 @@ async fn test_no_new_privs_is_enabled() {
let output = run_cmd_output(
&["bash", "-lc", "grep '^NoNewPrivs:' /proc/self/status"],
&[],
- SHORT_TIMEOUT_MS,
+ // We have seen timeouts when running this test in CI on GitHub,
+ // so we are using a generous timeout until we can diagnose further.
+ LONG_TIMEOUT_MS,
)
.await;
let line = output