Commit f1c890af authored by Jaime Bernardo's avatar Jaime Bernardo Committed by Rich Trott
Browse files

test,fs: delay unlink in test-regress-GH-4027.js

The sequential/test-regress-GH-4027 test is flaky with an increased
system load, failing when the watched file is unlinked before the
first state of the watched file is retrieved.

After increasing the delay before unlinking and calling setTimeout
after watchFile, the flakiness stopped reproducing.

PR-URL: https://github.com/nodejs/node/pull/14010
Fixes: https://github.com/nodejs/node/issues/13800


Reviewed-By: default avatarRich Trott <rtrott@gmail.com>
Reviewed-By: default avatarRefael Ackermann <refack@gmail.com>
parent bec38772
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