Skip to content

Commit d10eb83

Browse files
Trottevanlucas
authored andcommitted
test: remove flaky designation for test on AIX
#5085 has been completed so presumably test-fs-watch is not flaky on AIX anymore. Remove flaky designation from sequential.status. PR-URL: #12564 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Michael Dawson <[email protected]> Reviewed-By: Gibson Fahnestock <[email protected]>
1 parent cfd9144 commit d10eb83

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

test/sequential/sequential.status

-5
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,4 @@ test-benchmark-child-process : PASS,FLAKY
1717

1818
[$system==freebsd]
1919

20-
# fs-watch currently needs special configuration on AIX and we
21-
# want to improve under https://github.com/nodejs/node/issues/5085.
22-
# Tests are disabled so CI can be green and we can spot other
23-
# regressions until this work is complete
2420
[$system==aix]
25-
test-fs-watch : FAIL,PASS

test/sequential/test-fs-watch.js

+3-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ const fs = require('fs');
66

77
const expectFilePath = common.isWindows ||
88
common.isLinux ||
9-
common.isOSX;
9+
common.isOSX ||
10+
common.isAix;
1011

1112
let watchSeenOne = 0;
1213
let watchSeenTwo = 0;
@@ -80,7 +81,7 @@ const filepathThree = path.join(testsubdir, filenameThree);
8081
assert.doesNotThrow(
8182
function() {
8283
const watcher = fs.watch(testsubdir, function(event, filename) {
83-
const renameEv = common.isSunOS ? 'change' : 'rename';
84+
const renameEv = common.isSunOS || common.isAix ? 'change' : 'rename';
8485
assert.strictEqual(renameEv, event);
8586
if (expectFilePath) {
8687
assert.strictEqual('newfile.txt', filename);

0 commit comments

Comments
 (0)