Skip to content

Commit

Permalink
test: increase timeouts on some unref timers tests
Browse files Browse the repository at this point in the history
Fix: #5351
Refs: #4561
PR-URL: #5352

Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Minwoo Jung <jmwsoft@gmail.com>
  • Loading branch information
Fishrock123 authored and rvagg committed Feb 27, 2016
1 parent 1ecbdec commit 0f54553
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const domain = require('domain');

// Crazy stuff to keep the process open,
// then close it when we are actually done.
const TEST_DURATION = common.platformTimeout(100);
const TEST_DURATION = common.platformTimeout(1000);
const keepOpen = setTimeout(function() {
throw new Error('Test timed out. keepOpen was not canceled.');
}, TEST_DURATION);
Expand Down
2 changes: 1 addition & 1 deletion test/parallel/test-timers-unref-active.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ var nbTimeouts = 0;
* and thus expect 5 timers to be able to fire in under 100 ms.
*/
const N = 5;
const TEST_DURATION = 100;
const TEST_DURATION = 1000;

timers.unenroll(someObject);
timers.enroll(someObject, 1);
Expand Down
2 changes: 1 addition & 1 deletion test/parallel/test-timers-unrefd-interval-still-fires.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*/
const common = require('../common');

const TEST_DURATION = common.platformTimeout(100);
const TEST_DURATION = common.platformTimeout(1000);
const N = 3;
var nbIntervalFired = 0;

Expand Down

0 comments on commit 0f54553

Please sign in to comment.