Skip to content

Commit

Permalink
refactor: reword warning
Browse files Browse the repository at this point in the history
* Trying to make it easier to search for "FAILED" in the CI output to find failed tests.
* Also tried to make the message easier to understand.
  • Loading branch information
swalchemist committed Oct 14, 2023
1 parent f925fca commit 9610f2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ subprojects {
def retryFailOnPassedAfterRetry = Boolean.parseBoolean(
System.getProperty("failOnPassedAfterRetry", "false"));
if (!retryFailOnPassedAfterRetry)
logger.warn("retry: Failed tests are to be retried and considered as passed if the retry passes.")
logger.warn("retry: Flaky tests will not make the test run fail because failOnPassedAfterRetry is false.")

failOnPassedAfterRetry = retryFailOnPassedAfterRetry
maxFailures = Integer.parseInt(System.getProperty("maxFailures", "3"))
Expand Down

0 comments on commit 9610f2c

Please sign in to comment.