Skip to content

Commit a7845f6

Browse files
meisterTcopybara-github
authored andcommitted
Increase allowed size for install base again.
It happens to be larger on Mac than on Linux. PiperOrigin-RevId: 386403013
1 parent 51cb6a0 commit a7845f6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/test/shell/integration/minimal_jdk_test.sh

+3-3
Original file line numberDiff line numberDiff line change
@@ -42,13 +42,13 @@ export BAZEL_SUFFIX="_jdk_minimal"
4242
source "$(rlocation "io_bazel/src/test/shell/integration_test_setup.sh")" \
4343
|| { echo "integration_test_setup.sh not found!" >&2; exit 1; }
4444

45-
# Bazel's install base is < 300MB with minimal JDK and > 305MB with an all
45+
# Bazel's install base is < 310MB with minimal JDK and > 315MB with an all
4646
# modules JDK.
47-
function test_size_less_than_300MB() {
47+
function test_size_less_than_310MB() {
4848
bazel info
4949
ib=$(bazel info install_base)
5050
size=$(du -s "$ib" | cut -d\ -f1)
51-
maxsize=$((1024*300))
51+
maxsize=$((1024*310))
5252
if [ $size -gt $maxsize ]; then
5353
echo "$ib was too big:" 1>&2
5454
du -a "$ib" 1>&2

0 commit comments

Comments
 (0)