Files
node/test/parallel
Anna Henningsen 5100e84f4b test: fix flaky test-fs-promises-file-handle-close
Sometimes, the expected warnings were not emitted.
To harden the test:

- Instead of relying on a timeout that raced against the file being
  opened, wait until the file is opened and then schedule GC
  after that.
- Explicitly keep the event loop alive for one turn to make sure
  the warning is being seen.

PR-URL: https://github.com/nodejs/node/pull/31687
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: James M Snell <jasnell@gmail.com>
2020-02-10 15:42:22 +01:00
..
2020-01-03 01:44:54 +01:00
2019-12-31 15:54:20 +01:00
2019-11-13 17:04:22 +00:00
2020-01-03 01:44:54 +01:00
2019-12-25 12:24:42 +01:00
2019-12-25 12:24:42 +01:00
2019-12-25 12:24:42 +01:00
2020-02-09 13:36:39 +01:00