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 db35efa

Browse filesBrowse files
TrottMyles Borins
authored andcommitted
test: fix flaky test-net-write-slow
Increase socket timeout so that there is enough time to reliably run the test on FreeBSD. Fixes: #7516 PR-URL: #7555 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
1 parent 537f333 commit db35efa
Copy full SHA for db35efa

File tree

Expand file treeCollapse file tree

1 file changed

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

1 file changed

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

‎test/parallel/test-net-write-slow.js‎

Copy file name to clipboardExpand all lines: test/parallel/test-net-write-slow.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ buf.fill(0x61); // 'a'
1212

1313
var server = net.createServer(function(socket) {
1414
socket.setNoDelay();
15-
socket.setTimeout(1000);
15+
socket.setTimeout(9999);
1616
socket.on('timeout', function() {
1717
assert.fail(null, null, 'flushed: ' + flushed +
1818
', received: ' + received + '/' + SIZE * N);

0 commit comments

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