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 9716729

Browse filesBrowse files
Trottevanlucas
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 663b103 commit 9716729
Copy full SHA for 9716729

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
@@ -11,7 +11,7 @@ var buf = Buffer.alloc(SIZE, 'a');
1111

1212
var server = net.createServer(function(socket) {
1313
socket.setNoDelay();
14-
socket.setTimeout(1000);
14+
socket.setTimeout(9999);
1515
socket.on('timeout', function() {
1616
assert.fail(null, null, 'flushed: ' + flushed +
1717
', 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.