Skip to content

Commit 35fef2a

Browse files
committed
[java] Reties in CI for Java tests
1 parent 033d1a8 commit 35fef2a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/ci-java.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
browser: chrome
2020
cache-key: java-${{ matrix.os }}-tests
2121
run: |
22-
bazel test //java/test/org/openqa/selenium/chrome:ChromeDriverFunctionalTest `
22+
bazel test --flaky_test_attempts 3 //java/test/org/openqa/selenium/chrome:ChromeDriverFunctionalTest `
2323
//java/test/org/openqa/selenium/federatedcredentialmanagement:FederatedCredentialManagementTest `
2424
//java/test/org/openqa/selenium/firefox:FirefoxDriverBuilderTest `
2525
//java/test/org/openqa/selenium/grid/router:RemoteWebDriverDownloadTest `
@@ -40,7 +40,7 @@ jobs:
4040
browser: chrome
4141
cache-key: java-${{ matrix.os }}-tests
4242
run: |
43-
bazel test //java/test/org/openqa/selenium/chrome:ChromeDriverFunctionalTest-remote \
43+
bazel test --flaky_test_attempts 3 //java/test/org/openqa/selenium/chrome:ChromeDriverFunctionalTest-remote \
4444
//java/test/org/openqa/selenium/federatedcredentialmanagement:FederatedCredentialManagementTest \
4545
//java/test/org/openqa/selenium/firefox:FirefoxDriverBuilderTest \
4646
//java/test/org/openqa/selenium/grid/router:RemoteWebDriverDownloadTest \
@@ -61,4 +61,4 @@ jobs:
6161
browser: chrome
6262
cache-key: java-${{ matrix.os }}-remote-tests
6363
run: |
64-
bazel test //java/test/org/openqa/selenium/chrome:ChromeDriverFunctionalTest-remote
64+
bazel test --flaky_test_attempts 3 //java/test/org/openqa/selenium/chrome:ChromeDriverFunctionalTest-remote

0 commit comments

Comments
 (0)