Skip to content

Commit 406c2cd

Browse files
Trottjasnell
authored andcommitted
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 <[email protected]> Reviewed-By: Michael Dawson <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Refael Ackermann <[email protected]>
1 parent 1b192f9 commit 406c2cd

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

test/parallel/test-fs-watchfile.js

+3-2
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)