Skip to content

Commit bf188c1

Browse files
meteorcloudycopybara-github
authored andcommitted
Fine tune the number of test jobs running in parallel to avoid timeout on Intel macOS platform
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
1 parent db70e2f commit bf188c1

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
@@ -195,6 +195,8 @@ tasks:
195195
- "--test_env=TEST_REPOSITORY_HOME=$HOME/bazeltest/external"
196196
# Configure and enable tests that require access to the network.
197197
- "--test_env=REMOTE_NETWORK_ADDRESS=bazel.build:80"
198+
# Fine tune the number of test jobs running in parallel to avoid timeout
199+
- "--local_test_jobs=8"
198200
test_targets:
199201
- "//scripts/..."
200202
- "//src/test/..."

.bazelci/presubmit.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,8 @@ tasks:
199199
- "--test_env=TEST_REPOSITORY_HOME=$HOME/bazeltest/external"
200200
# Configure and enable tests that require access to the network.
201201
- "--test_env=REMOTE_NETWORK_ADDRESS=bazel.build:80"
202+
# Fine tune the number of test jobs running in parallel to avoid timeout
203+
- "--local_test_jobs=8"
202204
test_targets:
203205
- "//scripts/..."
204206
- "//src/main/starlark/tests/builtins_bzl/..."

0 commit comments

Comments
 (0)