mirror of
https://github.com/openai/codex.git
synced 2026-11-13 14:46:14 +00:00
Limit Bazel integration test threads on macOS (#39609)
## What changed - Add a `test_threads` option to `codex_rust_crate` that sets `RUST_TEST_THREADS` for sharded integration tests when configured. - Run the `core` and `app-server` Bazel integration tests with one Rust test thread on macOS, leaving the thread count unchanged on other platforms. GitOrigin-RevId: 118147413eb141f557d9ee82858860617d61acce
This commit is contained in:
1 parent
5c305eb50b
commit
c19482a768
3 files changed
+14
No files matched your search
@@ -24,4 +24,8 @@ codex_rust_crate(
|
||||
"app-server-unit-tests": 8,
|
||||
},
|
||||
test_tags = ["no-sandbox"],
|
||||
test_threads = select({
|
||||
"@platforms//os:macos": 1,
|
||||
"//conditions:default": 0,
|
||||
}),
|
||||
)
|
||||
Reference in new issue
Block a user