mirror of
https://github.com/openai/codex.git
synced 2026-10-20 17:38:45 +00:00
bazel: right-size Rust test targets
This commit is contained in:
@@ -10,7 +10,6 @@ codex_rust_crate(
|
||||
"//codex-rs/cli:codex",
|
||||
"//codex-rs/rmcp-client:test_stdio_server",
|
||||
],
|
||||
integration_test_timeout = "long",
|
||||
test_shard_counts = {
|
||||
# Note app-server-all-test has a large number of integration tests, so
|
||||
# even a single shard can be quite slow. When there is a legitimate
|
||||
@@ -21,5 +20,9 @@ codex_rust_crate(
|
||||
"app-server-all-test": 16,
|
||||
"app-server-unit-tests": 8,
|
||||
},
|
||||
test_sizes = {
|
||||
"app-server-all-test": "medium",
|
||||
"app-server-all-test-windows-cross": "medium",
|
||||
},
|
||||
test_tags = ["no-sandbox"],
|
||||
)
|
||||
|
||||
@@ -21,7 +21,6 @@ codex_rust_crate(
|
||||
"//codex-rs/windows-sandbox-rs:codex-command-runner",
|
||||
"//codex-rs/windows-sandbox-rs:codex-windows-sandbox-setup",
|
||||
],
|
||||
integration_test_timeout = "long",
|
||||
run_tests_with_wine_exec = True,
|
||||
rustc_env = {
|
||||
# Keep manifest-root path lookups inside the Bazel execroot for code
|
||||
@@ -47,6 +46,9 @@ codex_rust_crate(
|
||||
"core-all-test": 16,
|
||||
"core-unit-tests": 8,
|
||||
},
|
||||
test_sizes = {
|
||||
"core-unit-tests": "medium",
|
||||
"core-unit-tests-windows-cross": "medium",
|
||||
},
|
||||
test_tags = ["no-sandbox"],
|
||||
unit_test_timeout = "long",
|
||||
)
|
||||
|
||||
@@ -6,5 +6,9 @@ codex_rust_crate(
|
||||
test_shard_counts = {
|
||||
"exec-all-test": 8,
|
||||
},
|
||||
test_sizes = {
|
||||
"exec-all-test": "medium",
|
||||
"exec-all-test-windows-cross": "medium",
|
||||
},
|
||||
test_tags = ["no-sandbox"],
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user