mirror of
https://github.com/nodejs/node.git
synced 2024-12-01 16:10:02 +01:00
test: remove timer in fs.watchFile() test
The timer was there to address a race condition that has been removed from the test. Remove it. PR-URL: https://github.com/nodejs/node/pull/21694 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
This commit is contained in:
parent
8c305e1c2f
commit
6d60c93056
@ -45,4 +45,4 @@ fs.watchFile(filename, { interval: 50 }, common.mustCall(function(curr, prev) {
|
||||
fs.unwatchFile(filename);
|
||||
}));
|
||||
|
||||
setTimeout(fs.unlinkSync, common.platformTimeout(300), filename);
|
||||
fs.unlinkSync(filename);
|
||||
|
Loading…
Reference in New Issue
Block a user