Skip to content

Commit 8fc3e4e

Browse files
authored
chore: exclude flakybot to run on Java8 tests (GoogleCloudPlatform#9225)
1 parent 8bb2ecd commit 8fc3e4e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.kokoro/tests/run_test_java.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,9 +101,9 @@ if [[ "$file" == *"run/"* && ("$file" != *"run/filesystem"* && "$file" != *"run/
101101
fi
102102
fi
103103

104-
# If this is a periodic build, send the test log to the FlakyBot.
104+
# If this is a periodic build, send the test log to the FlakyBot except for Java 8
105105
# See https://github.com/googleapis/repo-automation-bots/tree/main/packages/flakybot.
106-
if [[ $KOKORO_BUILD_ARTIFACTS_SUBDIR = *"periodic"* ]]; then
106+
if [[ $JAVA_VERSION != "1.8" && $KOKORO_BUILD_ARTIFACTS_SUBDIR = *"periodic"* ]]; then
107107
chmod +x $KOKORO_GFILE_DIR/linux_amd64/flakybot
108108
$KOKORO_GFILE_DIR/linux_amd64/flakybot
109109
fi

0 commit comments

Comments
 (0)