Files
node/test/parallel
Joyee Cheung 4e6fdb3e12 test: avoid race in file write stream handle tests
The test previously created two fs.promises.open calls on the
same file with w+ back-to-back, and one of them could fail
when checking the contents of that file if the other happened
to be opening the file for write. Split them into different
tests (with different tmpdir) to avoid the race.

PR-URL: https://github.com/nodejs/node/pull/44380
Refs: https://github.com/nodejs/reliability/issues/354
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Evan Lucas <evanlucas@me.com>
2022-09-01 15:42:34 +08:00
..
2021-08-25 07:55:32 -07:00
2022-02-05 08:36:48 -08:00
2022-02-21 12:34:13 +00:00
2021-05-06 10:39:23 -07:00
2022-08-29 07:49:32 +00:00
2022-07-02 17:10:53 +01:00