Bazel: Disable worker multiplexer to avoid sporadic build failures

Bazel 4.0.0 has a known worker multiplexer bug, that causes Bazel to
crash spordically.

The bug was fixed: [1], but the fix wasn't released yet. See this
issue: [2] for more details.

[1] a607d9dc70
[2] https://github.com/bazelbuild/bazel/issues/13333

Change-Id: I2265c4ed7128a4b6ed259f44c5594ab717de58b0
This commit is contained in:
David Ostrovsky 2021-04-14 15:54:59 +02:00
parent 83fbbbbeff
commit bd296ebe62
1 changed files with 4 additions and 0 deletions

View File

@ -11,6 +11,10 @@ build --java_toolchain //tools:error_prone_warnings_toolchain
# this flag here once flipped in Bazel again.
build --incompatible_strict_action_env
# Workaround Bazel worker crash (remove after upgrading to 4.1.0)
# https://github.com/bazelbuild/bazel/issues/13333
build --experimental_worker_multiplex=false
test --build_tests_only
test --test_output=errors