Skip to content
Permalink
Browse files

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 <gibfahn@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Brian White <mscdex@mscdex.net>
  • Loading branch information...
thefourtheye authored and gibfahn committed Apr 27, 2017
1 parent 71f22c8 commit b16869c4e42d0861ba0890aaeef02e25daf46b11
Showing with 10 additions and 14 deletions.
  1. +10 −14 test/parallel/test-fs-options-immutable.js
@@ -58,21 +58,17 @@ if (common.canCreateSymLink()) {
);
}

if (!common.isAix) {
// TODO(thefourtheye) Remove this guard once
// https://github.com/nodejs/node/issues/5085 is fixed
{
let watch;
assert.doesNotThrow(() => {
watch = fs.watch(__filename, options, common.noop);
});
watch.close();
}
{
let watch;
assert.doesNotThrow(() => {
watch = fs.watch(__filename, options, common.noop);
});
watch.close();
}

{
assert.doesNotThrow(() => fs.watchFile(__filename, options, common.noop));
fs.unwatchFile(__filename);
}
{
assert.doesNotThrow(() => fs.watchFile(__filename, options, common.noop));
fs.unwatchFile(__filename);
}

{

0 comments on commit b16869c

Please sign in to comment.
You can’t perform that action at this time.