Skip to content

Commit 30ecf0d

Browse files
committed
Only retry tests on CI
1 parent 3a5e137 commit 30ecf0d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

project/Build.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ object Build {
327327
.withTestRetryConfiguration(
328328
config.testRetryConfiguration
329329
.withFlakyTestPolicy(FlakyTestPolicy.Fail)
330-
.withMaxRetries(1)
330+
.withMaxRetries(if (isInsideCI) 1 else 0)
331331
.withMaxFailures(10)
332332
.withClassesFilter((className, _) => !noRetryTestClasses.contains(className))
333333
)

0 commit comments

Comments
 (0)