From 85097f5f1e7e2791b33df179a8b9fc0709ba5ba4 Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Thu, 1 Jun 2017 22:34:59 -0700 Subject: [PATCH] test: make test-fs-watchfile reliable Omitting AIX from `fs.watch()` portion of this test. It works on AIX, but not reliably. Fixes: /~https://github.com/nodejs/node/issues/13377 --- test/parallel/test-fs-watchfile.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/test/parallel/test-fs-watchfile.js b/test/parallel/test-fs-watchfile.js index 270a281ce31189..fb87b1ee87a0fb 100644 --- a/test/parallel/test-fs-watchfile.js +++ b/test/parallel/test-fs-watchfile.js @@ -64,8 +64,9 @@ fs.watchFile(enoentFile, {interval: 0}, common.mustCall(function(curr, prev) { } }, 2)); -// Watch events should callback with a filename on supported systems -if (common.isLinux || common.isOSX || common.isWindows || common.isAix) { +// Watch events should callback with a filename on supported systems. +// Omitting AIX. It works but not reliably. +if (common.isLinux || common.isOSX || common.isWindows) { const dir = common.tmpDir + '/watch'; fs.mkdir(dir, common.mustCall(function(err) {