test: reduce sequential/test-fs-watch flakiness
authorRoman Reiss <me@silverwind.io>
Thu, 26 Mar 2015 19:01:17 +0000 (20:01 +0100)
committerRoman Reiss <me@silverwind.io>
Fri, 27 Mar 2015 16:08:07 +0000 (17:08 +0100)
commit955c1508dab1d7f3e4684e6f6b0bd40218e8c297
treed773085b4d740d5b83c899c79d44bfeb989d90bf
parent36f017afaf034ff858b86ad0655032b229d9c8f8
test: reduce sequential/test-fs-watch flakiness

The fs.watch test's write events sometimes aren't produced on OS X,
possibly because of a fsevents race condition. This patch gives delays
the writing a total of 20ms, which makes the test pass consistently.

PR-URL: https://github.com/iojs/io.js/pull/1275
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
test/sequential/test-fs-watch.js