Skip to content

Commit fe4daea

Browse files
philwocopybara-github
authored andcommitted
Bump minimal JDK install base maximum size from 290 to 295 MB.
The Bazel 4.1.0rc release candidates are currently failing this test as they're just very slightly over the limit: test_size_less_than_290MB FAILED: Size of install_base is 297168 kB, expected it to be less than 296960 kB. PiperOrigin-RevId: 369436112
1 parent ae7f287 commit fe4daea

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/test/shell/integration/minimal_jdk_test.sh

Lines changed: 3 additions & 3 deletions
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 < 290MB with minimal JDK and > 300MB with an all
45+
# Bazel's install base is < 295MB with minimal JDK and > 300MB with an all
4646
# modules JDK.
47-
function test_size_less_than_290MB() {
47+
function test_size_less_than_295MB() {
4848
bazel info
4949
ib=$(bazel info install_base)
5050
size=$(du -s "$ib" | cut -d\ -f1)
51-
maxsize=$((1024*290))
51+
maxsize=$((1024*295))
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)