Skip to content

Commit 0f54553

Browse files
Fishrock123rvagg
authored andcommitted
test: increase timeouts on some unref timers tests
Fix: #5351 Refs: #4561 PR-URL: #5352 Reviewed-By: Rich Trott <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Minwoo Jung <[email protected]>
1 parent 1ecbdec commit 0f54553

3 files changed

+3
-3
lines changed

test/parallel/test-timers-unref-active-unenrolled-disposed.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const domain = require('domain');
99

1010
// Crazy stuff to keep the process open,
1111
// then close it when we are actually done.
12-
const TEST_DURATION = common.platformTimeout(100);
12+
const TEST_DURATION = common.platformTimeout(1000);
1313
const keepOpen = setTimeout(function() {
1414
throw new Error('Test timed out. keepOpen was not canceled.');
1515
}, TEST_DURATION);

test/parallel/test-timers-unref-active.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ var nbTimeouts = 0;
3131
* and thus expect 5 timers to be able to fire in under 100 ms.
3232
*/
3333
const N = 5;
34-
const TEST_DURATION = 100;
34+
const TEST_DURATION = 1000;
3535

3636
timers.unenroll(someObject);
3737
timers.enroll(someObject, 1);

test/parallel/test-timers-unrefd-interval-still-fires.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*/
55
const common = require('../common');
66

7-
const TEST_DURATION = common.platformTimeout(100);
7+
const TEST_DURATION = common.platformTimeout(1000);
88
const N = 3;
99
var nbIntervalFired = 0;
1010

0 commit comments

Comments
 (0)