aboutsummaryrefslogtreecommitdiff
path: root/lib/_http_incoming.js
diff options
context:
space:
mode:
authorRich Trott <rtrott@gmail.com>2017-05-26 20:48:19 -0700
committerRich Trott <rtrott@gmail.com>2017-05-30 13:47:24 -0700
commit3b12a8d6e7a053ba873de5a9b3c1d580ada294ac (patch)
tree1235911d6baac1c550eb28c7b82137c68d5adfed /lib/_http_incoming.js
parent64ded9f9bca71a2b230a9c114964ccfc258db98f (diff)
downloadandroid-node-v8-3b12a8d6e7a053ba873de5a9b3c1d580ada294ac.tar.gz
android-node-v8-3b12a8d6e7a053ba873de5a9b3c1d580ada294ac.tar.bz2
android-node-v8-3b12a8d6e7a053ba873de5a9b3c1d580ada294ac.zip
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>
Diffstat (limited to 'lib/_http_incoming.js')
0 files changed, 0 insertions, 0 deletions