Skip to content

Commit 7155a8b

Browse files
authored
Only retry tests on CI (scala#21978)
2 parents 73168ee + 30ecf0d commit 7155a8b

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)