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 bff334c
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions spock-specs/specs.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -74,13 +74,16 @@ 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 bff334c

Please sign in to comment.