Dont test max fds on Windows, makes no sense

pull/2/head
Louis Chatriot 9 years ago
parent 1335d31c47
commit 1d8621bf03
  1. 2
      test/persistence.test.js

@ -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); }

Loading…
Cancel
Save