Skip to content

Commit

Permalink
Fix deprecated test retry config
Browse files Browse the repository at this point in the history
  • Loading branch information
leonard84 committed Apr 19, 2024
1 parent 0125c4c commit 7048f1e
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions spock-specs/specs.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -74,13 +74,15 @@ tasks.named("test", Test) {
}

if (isCiServer) {
retry {
maxRetries = 2
maxFailures = 20

filter {
includeAnnotationClasses.add("spock.lang.Timeout")
includeAnnotationClasses.add("spock.lang.Isolated")
develocity {
testRetry {
maxRetries = 2
maxFailures = 20

filter {
includeAnnotationClasses.add("spock.lang.Timeout")
includeAnnotationClasses.add("spock.lang.Isolated")
}
}
}
}
Expand Down

0 comments on commit 7048f1e

Please sign in to comment.