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 29804e0

Browse filesBrowse files
mscdexMyles Borins
authored andcommitted
test: use platformTimeout() in more places
Without these changes, the pi1-raspbian-wheezy CI node was timing out on these tests. PR-URL: #4387 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
1 parent 823269d commit 29804e0
Copy full SHA for 29804e0

File tree

Expand file treeCollapse file tree

2 files changed

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

2 files changed

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

‎test/parallel/test-dgram-udp4.js‎

Copy file name to clipboardExpand all lines: test/parallel/test-dgram-udp4.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,4 +52,4 @@ server.bind(server_port);
5252

5353
timer = setTimeout(function() {
5454
throw new Error('Timeout');
55-
}, 200);
55+
}, common.platformTimeout(200));
Collapse file

‎test/parallel/test-http-1.0.js‎

Copy file name to clipboardExpand all lines: test/parallel/test-http-1.0.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ function test(handler, request_generator, response_validator) {
1919
server.close();
2020
response_validator(server_response, client_got_eof, true);
2121
}
22-
var timer = setTimeout(cleanup, 1000);
22+
var timer = setTimeout(cleanup, common.platformTimeout(1000));
2323
process.on('exit', cleanup);
2424

2525
server.listen(port);

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.