Skip to content

Commit 9d654a3

Browse files
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 4c774e1 commit 9d654a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines 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)