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 601a976

Browse filesBrowse files
Trottrvagg
authored andcommitted
test: increase dgram timeout for armv6
test-dgram-broadcast-multi-process.js and test-dgram-multicast-multi-process.js were failing on Pi 1 because the test was timing out. Changed static 5000ms timeout to a dynamically determined timeout based on the processor using common.platformTimeout(). PR-URL: #2808 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com> Reviewed-By: Roman Reiss <me@silverwind.io>
1 parent ef83029 commit 601a976
Copy full SHA for 601a976

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/internet/test-dgram-broadcast-multi-process.js‎

Copy file name to clipboardExpand all lines: test/internet/test-dgram-broadcast-multi-process.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ var common = require('../common'),
77
Buffer = require('buffer').Buffer,
88
fork = require('child_process').fork,
99
LOCAL_BROADCAST_HOST = '255.255.255.255',
10-
TIMEOUT = 5000,
10+
TIMEOUT = common.platformTimeout(5000),
1111
messages = [
1212
new Buffer('First message to send'),
1313
new Buffer('Second message to send'),
Collapse file

‎test/internet/test-dgram-multicast-multi-process.js‎

Copy file name to clipboardExpand all lines: test/internet/test-dgram-multicast-multi-process.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ var common = require('../common'),
66
Buffer = require('buffer').Buffer,
77
fork = require('child_process').fork,
88
LOCAL_BROADCAST_HOST = '224.0.0.114',
9-
TIMEOUT = 5000,
9+
TIMEOUT = common.platformTimeout(5000),
1010
messages = [
1111
new Buffer('First message to send'),
1212
new Buffer('Second message to send'),

0 commit comments

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