Skip to content

Commit

Permalink
Adjust install base size in minimal_jdk_test
Browse files Browse the repository at this point in the history
Required by #18497 which increases the size by ~10mb.

PiperOrigin-RevId: 543714205
Change-Id: I3aaacfca6f2c58cf41bb88b4cd07e269ede45515
  • Loading branch information
fweikert authored and copybara-github committed Jun 27, 2023
1 parent 75b0221 commit 39758b6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/test/shell/integration/minimal_jdk_test.sh
Original file line number Diff line number Diff line change
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 < 350MB with minimal JDK and > 350MB with an all
# Bazel's install base is < 360MB with minimal JDK and > 360MB with an all
# modules JDK.
function test_size_less_than_350MB() {
function test_size_less_than_360MB() {
bazel info
ib=$(bazel info install_base)
size=$(du -s "$ib" | cut -d\ -f1)
maxsize=$((1024*350))
maxsize=$((1024*360))
if [ $size -gt $maxsize ]; then
echo "$ib was too big:" 1>&2
du -a "$ib" 1>&2
Expand Down

0 comments on commit 39758b6

Please sign in to comment.