Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: skip fs.watch on Travis #22589

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions test/async-hooks/test-fseventwrap.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
3 changes: 3 additions & 0 deletions test/parallel/test-fs-watch-close-when-destroyed.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
3 changes: 3 additions & 0 deletions test/sequential/test-fs-watch.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 ||
Expand Down