diff --git a/test/parallel/test-fs-promises-watch-iterator.js b/test/parallel/test-fs-promises-watch-iterator.js index 529cf4a6c69591..e7788201f06e25 100644 --- a/test/parallel/test-fs-promises-watch-iterator.js +++ b/test/parallel/test-fs-promises-watch-iterator.js @@ -35,8 +35,11 @@ class WatchTestCase { } } async writeFiles() { - // Do the write with a delay to ensure that the OS is ready to notify us. - await setTimeout(common.platformTimeout(100)); + if (common.isMacOS) { + // Do the write with a delay to ensure that the OS is ready to notify us. + // See https://github.com/nodejs/node/issues/52601. + await setTimeout(common.platformTimeout(100)); + } for (const fileName of [...this.files]) { await writeFile(this.filePath(fileName), Date.now() + fileName.repeat(1e4));