You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
flaky-testIssues and PRs involving tests that fail intermittently in CI.fsIssues and PRs related to file-system APIs and the fs module.windowsIssues and PRs related to the Windows platform.
flaky-testIssues and PRs involving tests that fail intermittently in CI.fsIssues and PRs related to file-system APIs and the fs module.windowsIssues and PRs related to the Windows platform.
Activity
Trott commentedon Jul 6, 2018
Looks to be a race condition between
watchFile()andsetTimeout().Trott commentedon Jul 6, 2018
Reproducible if you put the call to
watchFile()in a timer such that it gets executed aftersetTimeout().Trott commentedon Jul 6, 2018
(
fs.watchfile()is synchronous, but probably the underlying operating system watch stuff it depends on is not?)Trott commentedon Jul 6, 2018
@nodejs/platform-windows @nodejs/fs @nodejs/testing
Trott commentedon Jul 6, 2018
This has, unsurprisingly, come up before:
f1c890afb05
#13800 especially #13800 (comment)
#14010
Trott commentedon Jul 6, 2018
OK, now I think I have a fix...
Trott commentedon Jul 6, 2018
Hopeful fix: #21694
test: fix flaky watchFile()
test: fix flaky watchFile()