commit | 55ab360c25537f4c0d2a5a32cf2060e7700983fe | [log] [tgz] |
---|---|---|
author | Googler <pcloudy@google.com> | Wed May 25 10:01:17 2022 -0700 |
committer | Copybara-Service <copybara-worker@google.com> | Wed May 25 10:02:34 2022 -0700 |
tree | 819fa6a865fad8faf3751cc3081cb0a98d088db6 | |
parent | 881fc800fdd76773a4b229a64673bc3b8feb9745 [diff] |
Bump the limit of Bazel install base size This is due to the upgrade of zlib: https://github.com/bazelbuild/bazel/pull/15497 Downstream failure: https://buildkite.com/bazel/bazel-at-head-plus-downstream/builds/2482#0180f962-1169-4a22-bffd-f455198c9b38 PiperOrigin-RevId: 450948972 Change-Id: Ic67523cc75c7445b9f3478d5c8343956280b8cb6
diff --git a/src/test/shell/integration/minimal_jdk_test.sh b/src/test/shell/integration/minimal_jdk_test.sh index dcc2e25..03f6474 100755 --- a/src/test/shell/integration/minimal_jdk_test.sh +++ b/src/test/shell/integration/minimal_jdk_test.sh
@@ -42,13 +42,13 @@ source "$(rlocation "io_bazel/src/test/shell/integration_test_setup.sh")" \ || { echo "integration_test_setup.sh not found!" >&2; exit 1; } -# Bazel's install base is < 316MB with minimal JDK and > 316MB with an all +# Bazel's install base is < 320MB with minimal JDK and > 320MB with an all # modules JDK. -function test_size_less_than_316MB() { +function test_size_less_than_320MB() { bazel info ib=$(bazel info install_base) size=$(du -s "$ib" | cut -d\ -f1) - maxsize=$((1024*316)) + maxsize=$((1024*320)) if [ $size -gt $maxsize ]; then echo "$ib was too big:" 1>&2 du -a "$ib" 1>&2