Skip to content

Commit

Permalink
Bump the test timeouts and fine-tune the test jobs number on macOS arm64
Browse files Browse the repository at this point in the history
Addressing flaky test failures due to test timeout: https://buildkite.com/bazel/google-bazel-presubmit/builds/86027

PiperOrigin-RevId: 694087333
Change-Id: I43a88f134ad6639f50bae143459cb673778b6225
  • Loading branch information
meteorcloudy authored and copybara-github committed Nov 7, 2024
1 parent 77234ae commit f6585d4
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .bazelci/postsubmit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,10 @@ tasks:
- "//src:test_repos"
test_flags:
- "--config=ci-macos"
# Fine tune the number of test jobs running in parallel to avoid timeout
- "--local_test_jobs=2"
# Increase the test timeout by 20% to avoid flaky test failures due to timeout
- "--test_timeout=72,360,1080,4320"
test_targets:
- "//scripts/..."
- "//src/main/starlark/tests/builtins_bzl/..."
Expand Down
6 changes: 5 additions & 1 deletion .bazelci/presubmit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,10 @@ tasks:
- "//src:test_repos"
test_flags:
- "--config=ci-macos"
# Fine tune the number of test jobs running in parallel to avoid timeout
- "--local_test_jobs=2"
# Increase the test timeout by 20% to avoid flaky test failures due to timeout
- "--test_timeout=72,360,1080,4320"
test_targets:
- "//scripts/..."
- "//src/main/starlark/tests/builtins_bzl/..."
Expand All @@ -218,9 +222,9 @@ tasks:
# Disable android tests since we are moving Android rules out of Bazel repo.
- "-//src/test/shell/bazel:bazel_android_tools_test"
# Disable some slow tests
- "-//src/test/shell/bazel:bazel_proto_library_test"
- "-//src/test/shell/bazel:bazel_bootstrap_distfile_test"
- "-//src/test/shell/bazel:bazel_bootstrap_distfile_tar_test"
- "-//src/test/shell/bazel:bazel_determinism_test"
include_json_profile:
- build
- test
Expand Down

0 comments on commit f6585d4

Please sign in to comment.