Skip to content

Commit b16869c

Browse files
thefourtheyegibfahn
authored andcommitted
test: remove AIX guard in fs-options-immutable
The fs watch test was not run on AIX till now because of the known issue, #5085. Now that it is completed, this guard can be removed. PR-URL: #12687 Reviewed-By: Gibson Fahnestock <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Michael Dawson <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Brian White <[email protected]>
1 parent 71f22c8 commit b16869c

File tree

1 file changed

+10
-14
lines changed

1 file changed

+10
-14
lines changed

test/parallel/test-fs-options-immutable.js

+10-14
Original file line numberDiff line numberDiff line change
@@ -58,21 +58,17 @@ if (common.canCreateSymLink()) {
5858
);
5959
}
6060

61-
if (!common.isAix) {
62-
// TODO(thefourtheye) Remove this guard once
63-
// https://github.com/nodejs/node/issues/5085 is fixed
64-
{
65-
let watch;
66-
assert.doesNotThrow(() => {
67-
watch = fs.watch(__filename, options, common.noop);
68-
});
69-
watch.close();
70-
}
61+
{
62+
let watch;
63+
assert.doesNotThrow(() => {
64+
watch = fs.watch(__filename, options, common.noop);
65+
});
66+
watch.close();
67+
}
7168

72-
{
73-
assert.doesNotThrow(() => fs.watchFile(__filename, options, common.noop));
74-
fs.unwatchFile(__filename);
75-
}
69+
{
70+
assert.doesNotThrow(() => fs.watchFile(__filename, options, common.noop));
71+
fs.unwatchFile(__filename);
7672
}
7773

7874
{

0 commit comments

Comments
 (0)