Skip to content

Commit

Permalink
Dont test max fds on Windows, makes no sense
Browse files Browse the repository at this point in the history
  • Loading branch information
louischatriot committed Nov 25, 2015
1 parent 1335d31 commit 1d8621b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/persistence.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -872,7 +872,9 @@ describe('Persistence', function () {
});
});

// Not run on Windows as there is no clean way to set maximum file descriptors. Not an issue as the code itself is tested.
it("Cannot cause EMFILE errors by opening too many file descriptors", function (done) {
if (process.platform === 'win32' || process.platform === 'win64') { return done(); }
child_process.execFile('test_lac/openFdsLaunch.sh', function (err, stdout, stderr) {
if (err) { return done(err); }

Expand Down

0 comments on commit 1d8621b

Please sign in to comment.