Skip to content

Commit

Permalink
Bump the limit of Bazel install base size (bazelbuild#15585)
Browse files Browse the repository at this point in the history
This is due to the upgrade of zlib: bazelbuild#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
  • Loading branch information
meteorcloudy committed May 27, 2022
1 parent 23b15de commit 0120118
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/test/shell/integration/minimal_jdk_test.sh
Expand Up @@ -42,13 +42,13 @@ export BAZEL_SUFFIX="_jdk_minimal"
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 < 311MB with minimal JDK and > 315MB with an all
# Bazel's install base is < 320MB with minimal JDK and > 320MB with an all
# modules JDK.
function test_size_less_than_311MB() {
function test_size_less_than_320MB() {
bazel info
ib=$(bazel info install_base)
size=$(du -s "$ib" | cut -d\ -f1)
maxsize=$((1024*311))
maxsize=$((1024*320))
if [ $size -gt $maxsize ]; then
echo "$ib was too big:" 1>&2
du -a "$ib" 1>&2
Expand Down

0 comments on commit 0120118

Please sign in to comment.