Skip to content

Fix #11885: disable flaky idempotency test on Windows #11944

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 30, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 6 additions & 7 deletions tests/idempotency/IdempotencyCheck.scala
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,12 @@ import java.util.stream.Stream as JStream
import scala.collection.JavaConverters.*

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

val blacklisted = flakyTestsOnWindows

def checkIdempotency(dir1: String, dir2: String): Unit = {
var failed = 0
Expand Down