Skip to content

Commit

Permalink
Merge pull request tronprotocol#5893 from halibobo1205/test/add_retry
Browse files Browse the repository at this point in the history
test(CI): add test-retry plugin for the unit test
  • Loading branch information
lvs007 authored Jul 8, 2024
2 parents 01502f3 + 18518a0 commit 773b374
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 773b374

Please sign in to comment.