Skip to content

Commit 773b374

Browse files
authored
Merge pull request #5893 from halibobo1205/test/add_retry
test(CI): add test-retry plugin for the unit test
2 parents 01502f3 + 18518a0 commit 773b374

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)