Skip to content

Commit

Permalink
Only retry tests on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
mbovel committed Nov 19, 2024
1 parent 3a5e137 commit 30ecf0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion project/Build.scala
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ object Build {
.withTestRetryConfiguration(
config.testRetryConfiguration
.withFlakyTestPolicy(FlakyTestPolicy.Fail)
.withMaxRetries(1)
.withMaxRetries(if (isInsideCI) 1 else 0)
.withMaxFailures(10)
.withClassesFilter((className, _) => !noRetryTestClasses.contains(className))
)
Expand Down

0 comments on commit 30ecf0d

Please sign in to comment.