Skip to content

Commit 70cecaa

Browse files
authored
Merge pull request #11944 from dotty-staging/fix-11885
Fix #11885: disable flaky idempotency test on Windows
2 parents c855812 + 08b9b6d commit 70cecaa

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

tests/idempotency/IdempotencyCheck.scala

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,12 @@ import java.util.stream.Stream as JStream
66
import scala.collection.JavaConverters.*
77

88
object IdempotencyCheck {
9-
val blacklisted = Set(
10-
// No fix needed. Bridges on collections in different order. Second one in scala2 order.
11-
s"pos{JFile.separator}Map{JFile.separator}scala{JFile.separator}collection{JFile.separator}immutable/Map",
12-
s"pos{JFile.separator}Map{JFile.separator}scala{JFile.separator}collection{JFile.separator}immutable{JFile.separator}AbstractMap",
13-
s"pos{JFile.separator}t1203a/NodeSeq",
14-
s"pos{JFile.separator}i2345{JFile.separator}Whatever"
15-
)
9+
val flakyTestsOnWindows =
10+
if scala.util.Properties.isWin
11+
then Set(s"pos${JFile.separator}i6507b")
12+
else Set.empty
13+
14+
val blacklisted = flakyTestsOnWindows
1615

1716
def checkIdempotency(dir1: String, dir2: String): Unit = {
1817
var failed = 0

0 commit comments

Comments
 (0)