test: fix `fs-watch-recursive` flakiness on OS X
The test is sometimes timing out because of a race condition between the fs event generated on file creation and the event being registered in the kqueue. To avoid this problem, create the file after 100 ms, that is the value used in the `fs_event_watch_dir_recursive` libuv test. PR-URL: https://github.com/nodejs/node/pull/4629 Reviewed-By:Rich Trott <rtrott@gmail.com>
parent
da3b938b
Please register or sign in to comment