Skip to content

Commit 98aa25c

Browse files
committed
test: make test-fs-watchfile reliable
Omitting AIX from `fs.watch()` portion of this test. It works on AIX, but not reliably. PR-URL: #13385 Fixes: #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>
1 parent 6cfdbc7 commit 98aa25c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

test/parallel/test-fs-watchfile.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,9 @@ fs.watchFile(enoentFile, {interval: 0}, common.mustCall(function(curr, prev) {
6464
}
6565
}, 2));
6666

67-
// Watch events should callback with a filename on supported systems
68-
if (common.isLinux || common.isOSX || common.isWindows || common.isAix) {
67+
// Watch events should callback with a filename on supported systems.
68+
// Omitting AIX. It works but not reliably.
69+
if (common.isLinux || common.isOSX || common.isWindows) {
6970
const dir = common.tmpDir + '/watch';
7071

7172
fs.mkdir(dir, common.mustCall(function(err) {

0 commit comments

Comments
 (0)