Skip to content

Commit 8395921

Browse files
keertkmeteorcloudy
andauthored
Fine tune the number of test jobs running in parallel to avoid timeout on Intel macOS platform (#18295)
After bazelbuild/continuous-integration#1600, Bazel CI sets the default value of --local_test_jobs on macOS x86_64 platform to 18, which caused many tests to timeout: https://buildkite.com/bazel/bazel-bazel/builds/23062 RELNOTES: PiperOrigin-RevId: 527575401 Change-Id: I43ad0f74df4bf2f8c46c9e0b52b6ef62948040af Co-authored-by: Googler <[email protected]>
1 parent 286306e commit 8395921

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.bazelci/postsubmit.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,8 @@ tasks:
184184
- "--test_env=TEST_REPOSITORY_HOME=$HOME/bazeltest/external"
185185
# Configure and enable tests that require access to the network.
186186
- "--test_env=REMOTE_NETWORK_ADDRESS=bazel.build:80"
187+
# Fine tune the number of test jobs running in parallel to avoid timeout
188+
- "--local_test_jobs=8"
187189
test_targets:
188190
- "//scripts/..."
189191
- "//src/test/..."

.bazelci/presubmit.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,8 @@ tasks:
173173
- "--test_env=TEST_REPOSITORY_HOME=$HOME/bazeltest/external"
174174
# Configure and enable tests that require access to the network.
175175
- "--test_env=REMOTE_NETWORK_ADDRESS=bazel.build:80"
176+
# Fine tune the number of test jobs running in parallel to avoid timeout
177+
- "--local_test_jobs=8"
176178
test_targets:
177179
- "//scripts/..."
178180
- "//src/main/starlark/tests/builtins_bzl/..."

0 commit comments

Comments
 (0)