Skip to content

Commit 18518a0

Browse files
committed
test(CI): add test-retry plugin for test
Mitigate flaky tests by retrying tests when they fail.
1 parent 844d2da commit 18518a0

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

framework/build.gradle

+5
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
plugins {
2+
id "org.gradle.test-retry" version "1.5.9"
23
id "org.sonarqube" version "2.6"
34
id "com.gorylenko.gradle-git-properties" version "2.4.1"
45
}
@@ -113,6 +114,10 @@ run {
113114
}
114115

115116
test {
117+
retry {
118+
maxRetries = 5
119+
maxFailures = 20
120+
}
116121
testLogging {
117122
exceptionFormat = 'full'
118123
}

0 commit comments

Comments
 (0)