Skip to content

test: fix `fs-watch-recursive` flakiness

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 libuv test: https://github.com/libuv/libuv/blob/v1.x/test/test-fs-event.c#L411

Merge request reports

Loading