Bump minimal JDK test size threshold from 270 to 275 MB
MacOS install base size can exceed the 270 MB threshold with minor
changes.
RELNOTES: None.
PiperOrigin-RevId: 314390222
diff --git a/src/test/shell/integration/minimal_jdk_test.sh b/src/test/shell/integration/minimal_jdk_test.sh
index 3296608..6a0094e 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 < 270MB with minimal JDK and > 300MB with an all
+# Bazel's install base is < 275MB with minimal JDK and > 300MB with an all
# modules JDK.
-function test_size_less_than_270MB() {
+function test_size_less_than_275MB() {
bazel info
ib=$(bazel info install_base)
size=$(du -s "$ib" | cut -d\ -f1)
- maxsize=$((1024*270))
+ maxsize=$((1024*275))
if [ $size -gt $maxsize ]; then
fail "Size of install_base is $size kB, expected it to be less than $maxsize kB."
fi