Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 65cd2a0

Browse filesBrowse files
committed
test: increase timeouts on some unref timers tests
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>
1 parent e854f60 commit 65cd2a0
Copy full SHA for 65cd2a0

File tree

Expand file treeCollapse file tree

3 files changed

+3
-3
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

3 files changed

+3
-3
lines changed
Open diff view settings
Collapse file

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

Copy file name to clipboardExpand all lines: test/parallel/test-timers-unref-active-unenrolled-disposed.js
+1-1Lines changed: 1 addition & 1 deletion
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);
Collapse file

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

Copy file name to clipboardExpand all lines: test/parallel/test-timers-unref-active.js
+1-1Lines changed: 1 addition & 1 deletion
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);
Collapse file

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

Copy file name to clipboardExpand all lines: test/parallel/test-timers-unrefd-interval-still-fires.js
+1-1Lines changed: 1 addition & 1 deletion
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.