Commit afee32fe authored by Santiago Gimeno's avatar Santiago Gimeno Committed by Myles Borins
Browse files

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: default avatarRich Trott <rtrott@gmail.com>
parent da3b938b
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment