Files
node/test/parallel
Rich Trott 25a05e5db1 test: fix flaky test-fs-watchfile on macOS
On macOS, a watcher created with fs.watch() does not necessarily
start receiving events immediately. So it can miss a change by
fs.writefile() if it comes very soon after the watcher is created. Fix
test flakiness caused by this by using `setInterval()` to repeat the
write action.

PR-URL: https://github.com/nodejs/node/pull/13252
Fixes: https://github.com/nodejs/node/issues/13248
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
2017-06-05 12:19:24 -07:00
..
2017-05-19 15:22:44 -04:00
2017-05-28 07:00:41 -07:00
2017-05-01 11:18:51 -07:00
2017-05-05 17:39:05 +03:00
2017-04-30 03:16:30 -04:00
2017-03-25 00:58:11 +09:00