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.
@@ -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 < 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
