From 951a3023fbcdbe025e350590e6fa86097da3fe05 Mon Sep 17 00:00:00 2001 From: twerth Date: Thu, 22 Jul 2021 02:04:17 -0700 Subject: [PATCH] Increase allowed size of the install_base. This is in preparation of importing #13728 which increases the size the of jar file by 2MB. PiperOrigin-RevId: 386191612 --- src/test/shell/integration/minimal_jdk_test.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/test/shell/integration/minimal_jdk_test.sh b/src/test/shell/integration/minimal_jdk_test.sh index 66cffa11bb65fe..6f14a5c51fff53 100755 --- a/src/test/shell/integration/minimal_jdk_test.sh +++ b/src/test/shell/integration/minimal_jdk_test.sh @@ -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 < 295MB with minimal JDK and > 300MB with an all +# Bazel's install base is < 300MB with minimal JDK and > 305MB with an all # modules JDK. -function test_size_less_than_295MB() { +function test_size_less_than_300MB() { bazel info ib=$(bazel info install_base) size=$(du -s "$ib" | cut -d\ -f1) - maxsize=$((1024*295)) + maxsize=$((1024*300)) if [ $size -gt $maxsize ]; then echo "$ib was too big:" 1>&2 du -a "$ib" 1>&2