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

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
  • Loading branch information
meteorcloudy authored and copybara-github committed Apr 27, 2023
1 parent db70e2f commit bf188c1
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 @@ -195,6 +195,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 @@ -199,6 +199,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 bf188c1

Please sign in to comment.