diff --git a/test/async-hooks/test-fseventwrap.js b/test/async-hooks/test-fseventwrap.js index 8608075c822..f2a67d07ff6 100644 --- a/test/async-hooks/test-fseventwrap.js +++ b/test/async-hooks/test-fseventwrap.js @@ -10,6 +10,9 @@ const fs = require('fs'); if (!common.isMainThread) common.skip('Worker bootstrapping works differently -> different async IDs'); +if (process.env.TRAVIS) + common.skip('Skip fs.watch-intensive test because of Travis limitation.'); + const hooks = initHooks(); hooks.enable(); diff --git a/test/parallel/test-fs-watch-close-when-destroyed.js b/test/parallel/test-fs-watch-close-when-destroyed.js index fb5239bc446..db02487c280 100644 --- a/test/parallel/test-fs-watch-close-when-destroyed.js +++ b/test/parallel/test-fs-watch-close-when-destroyed.js @@ -8,6 +8,9 @@ const tmpdir = require('../common/tmpdir'); const fs = require('fs'); const path = require('path'); +if (process.env.TRAVIS) + common.skip('Skip fs.watch-intensive test because of Travis limitation.'); + tmpdir.refresh(); const root = path.join(tmpdir.path, 'watched-directory'); fs.mkdirSync(root); diff --git a/test/sequential/test-fs-watch.js b/test/sequential/test-fs-watch.js index 9755cc8bb11..38840533313 100644 --- a/test/sequential/test-fs-watch.js +++ b/test/sequential/test-fs-watch.js @@ -31,6 +31,9 @@ const tmpdir = require('../common/tmpdir'); if (!common.isMainThread) common.skip('process.chdir is not available in Workers'); +if (process.env.TRAVIS) + common.skip('Skip fs.watch-intensive test because of Travis limitation.'); + const expectFilePath = common.isWindows || common.isLinux || common.isOSX ||