Skip to content
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

Prevent concurrent modification of keysWithEvents map #90

Merged
merged 2 commits into from
Dec 1, 2017
Merged

Prevent concurrent modification of keysWithEvents map #90

merged 2 commits into from
Dec 1, 2017

Conversation

dwijnand
Copy link
Member

Fixup and rebase of @mechkg's #89.

Fixes #86
which means
Fixes sbt/sbt#3687
Fixes sbt/sbt#3695
Fixes sbt/sbt#3775

@eed3si9n
Copy link
Member

[info] PollingWatchServiceSpec:
[info] - should detect modified files *** FAILED ***
[info]   false was not equal to true (SourceModificationWatchSpec.scala:322)

Should we be worried?

dwijnand and others added 2 commits December 1, 2017 12:49
I don't understand how you're meant to do pendingUntilFixed in ScalaTest, like specs2..
@dwijnand dwijnand requested a review from eed3si9n December 1, 2017 13:09
@dwijnand dwijnand merged commit 4c3d042 into sbt:1.0.x Dec 1, 2017
@dwijnand dwijnand deleted the fix-PollingWatchKey.pollEvents branch December 1, 2017 15:26
}
// watchTest(parentDir)(pollDelay, maxWait) {
// IO.write(file, "bar")
// }
pending // until fixed https://github.com/sbt/io/issues/82
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You wrap it as a block I think 😊

pendingUntilFixed {
  watchTest(parentDir)(pollDelay, maxWait) {
    IO.write(file, "bar")
  }
}

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah! Cheers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants