From f557ec39650b5f448229ebdabc74b25a05ae510f Mon Sep 17 00:00:00 2001 From: Vasilios Pantazopoulos Date: Tue, 5 Apr 2022 10:30:25 -0400 Subject: [PATCH] Increase allowed size for install base pre-`netty@4.1.75` upgrade --- 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 109d129dc3ad91..f8acd44a2814f5 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 < 311MB with minimal JDK and > 315MB with an all +# Bazel's install base is < 312MB with minimal JDK and > 315MB with an all # modules JDK. -function test_size_less_than_311MB() { +function test_size_less_than_312MB() { bazel info ib=$(bazel info install_base) size=$(du -s "$ib" | cut -d\ -f1) - maxsize=$((1024*311)) + maxsize=$((1024*312)) if [ $size -gt $maxsize ]; then echo "$ib was too big:" 1>&2 du -a "$ib" 1>&2