diff --git a/test/parallel/test-fs-write-file.js b/test/parallel/test-fs-write-file.js index 3484782a8d4071..129560e63601fa 100644 --- a/test/parallel/test-fs-write-file.js +++ b/test/parallel/test-fs-write-file.js @@ -88,7 +88,7 @@ fs.open(filename4, 'w+', common.mustSucceed((fd) => { // After the operation has started const controller = new AbortController(); const signal = controller.signal; - const filename4 = join(tmpdir.path, 'test4.txt'); + const filename4 = join(tmpdir.path, 'test5.txt'); fs.writeFile(filename4, s, { signal }, common.mustCall((err) => { assert.strictEqual(err.name, 'AbortError');