Skip to content

Commit

Permalink
test(CI): add test-retry plugin for test
Browse files Browse the repository at this point in the history
   Mitigate flaky tests by retrying tests when they fail.
  • Loading branch information
halibobo1205 committed Jul 1, 2024
1 parent 844d2da commit 18518a0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions framework/build.gradle
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
plugins {
id "org.gradle.test-retry" version "1.5.9"
id "org.sonarqube" version "2.6"
id "com.gorylenko.gradle-git-properties" version "2.4.1"
}
Expand Down Expand Up @@ -113,6 +114,10 @@ run {
}

test {
retry {
maxRetries = 5
maxFailures = 20
}
testLogging {
exceptionFormat = 'full'
}
Expand Down

0 comments on commit 18518a0

Please sign in to comment.