test,fs: delay unlink in test-regress-GH-4027.js · nodejs/node@b9e07f9 · GitHub
Skip to content

Commit b9e07f9

Browse files
jaimecbernardoaddaleax
authored andcommitted
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: #14010 Fixes: #13800 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com>
1 parent 0707a6b commit b9e07f9

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

test/sequential/test-regress-GH-4027.js

Lines changed: 2 additions & 1 deletion

0 commit comments

Comments
 (0)