Skip to content

Commit f143bf4

Browse files
fweikertmbland
authored andcommitted
Ignore warning about JAVA_TOOL_OPTIONS in test
Soon we'll set JAVA_TOOL_OPTIONS in MacOS CI workers, which results in a additional warning in the log, thus failing bazel_command_log_test. Progress towards bazelbuild/continuous-integration#1708 Closes #20274. PiperOrigin-RevId: 584405074 Change-Id: Ideb9aff097b9ee9900b1da423f2504da9ba82999
1 parent 0448fcf commit f143bf4

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/test/shell/integration/bazel_command_log_test.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ function strip_lines_from_bazel_cc() {
4545
-e '/^WARNING: Waiting for server process to terminate (waited 5 seconds, waiting at most 60)$/d' \
4646
-e '/^WARNING: The startup option --host_javabase is deprecated; prefer --server_javabase.$/d' \
4747
-e '/^WARNING: The home directory is not defined, no home_rc will be looked for.$/d' \
48+
-e '/^WARNING: ignoring JAVA_TOOL_OPTIONS in environment.$/d' \
4849
-e '/Options -Xverify:none and -noverify were deprecated in JDK 13 and will likely be removed in a future release/d' \
4950
-e '/^E[0-9]* /d' \
5051
$TEST_log)

0 commit comments

Comments
 (0)