Skip to content

Commit

Permalink
Fine tune the number of test jobs running in parallel to avoid timeou…
Browse files Browse the repository at this point in the history
…t 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 <pcloudy@google.com>
  • Loading branch information
keertk and meteorcloudy authored May 3, 2023
1 parent 286306e commit 8395921
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .bazelci/postsubmit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,8 @@ tasks:
- "--test_env=TEST_REPOSITORY_HOME=$HOME/bazeltest/external"
# Configure and enable tests that require access to the network.
- "--test_env=REMOTE_NETWORK_ADDRESS=bazel.build:80"
# Fine tune the number of test jobs running in parallel to avoid timeout
- "--local_test_jobs=8"
test_targets:
- "//scripts/..."
- "//src/test/..."
Expand Down
2 changes: 2 additions & 0 deletions .bazelci/presubmit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,8 @@ tasks:
- "--test_env=TEST_REPOSITORY_HOME=$HOME/bazeltest/external"
# Configure and enable tests that require access to the network.
- "--test_env=REMOTE_NETWORK_ADDRESS=bazel.build:80"
# Fine tune the number of test jobs running in parallel to avoid timeout
- "--local_test_jobs=8"
test_targets:
- "//scripts/..."
- "//src/main/starlark/tests/builtins_bzl/..."
Expand Down

0 comments on commit 8395921

Please sign in to comment.