diff --git a/.bazelci/postsubmit.yml b/.bazelci/postsubmit.yml index dbfdf15f0ebcb0..e4d5e07eadbfef 100644 --- a/.bazelci/postsubmit.yml +++ b/.bazelci/postsubmit.yml @@ -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/..." diff --git a/.bazelci/presubmit.yml b/.bazelci/presubmit.yml index 8a30661c0cec6d..b45ef7fd8962fe 100644 --- a/.bazelci/presubmit.yml +++ b/.bazelci/presubmit.yml @@ -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/..."