Skip to content

Commit db35efa

Browse files
TrottMyles Borins
authored and
Myles Borins
committed
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 <[email protected]> Reviewed-By: Santiago Gimeno <[email protected]>
1 parent 537f333 commit db35efa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

+1-1
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)