diff options
author | Rich Trott <rtrott@gmail.com> | 2017-06-01 22:34:59 -0700 |
---|---|---|
committer | Rich Trott <rtrott@gmail.com> | 2017-06-02 14:40:04 -0700 |
commit | 98aa25c765f50eab80f27750b9b7f82888af4c8c (patch) | |
tree | d3f410ea0824ae25243911e77e01434df3eaf668 /test | |
parent | 6cfdbc74d95c501d022b413cf024eb211d23c808 (diff) | |
download | android-node-v8-98aa25c765f50eab80f27750b9b7f82888af4c8c.tar.gz android-node-v8-98aa25c765f50eab80f27750b9b7f82888af4c8c.tar.bz2 android-node-v8-98aa25c765f50eab80f27750b9b7f82888af4c8c.zip |
test: make test-fs-watchfile reliable
Omitting AIX from `fs.watch()` portion of this test. It works
on AIX, but not reliably.
PR-URL: https://github.com/nodejs/node/pull/13385
Fixes: https://github.com/nodejs/node/issues/13377
Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Refael Ackermann <refack@gmail.com>
Diffstat (limited to 'test')
-rw-r--r-- | test/parallel/test-fs-watchfile.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/parallel/test-fs-watchfile.js b/test/parallel/test-fs-watchfile.js index 270a281ce3..fb87b1ee87 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) { |