Skip to content

Commit

Permalink
Bump timeout
Browse files Browse the repository at this point in the history
I was seeing transient failures of this test on windows, which has
significantly slower file access apis than linux and osx.
  • Loading branch information
eatkins committed Aug 2, 2018
1 parent b638db3 commit 82e9a49
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -360,8 +360,10 @@ abstract class SourceModificationWatchSpec(
// Longer timeout because there are many file system operations. This can be very expensive
// especially in the PollingWatchSpec since both the PollingWatchService and the EventMonitor
// overflow handler are hammering the file system. To minimize the conflicts, we set a long
// interval between polls in the PollingWatchService using getServiceWithPollDelay.
val deadline = 20.seconds.fromNow
// interval between polls in the PollingWatchService using getServiceWithPollDelay. The
// timeout was increased from 20.seconds to 40.seconds to address transient failures of
// this test on Appveyor windows builds.
val deadline = 40.seconds.fromNow
val monitor =
defaultMonitor(getServiceWithPollDelay(1.second), parentDir, tc = () => deadline.isOverdue)
try {
Expand Down

0 comments on commit 82e9a49

Please sign in to comment.