Permalink
Browse files

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>
  • Loading branch information...
Trott committed Jul 6, 2016
1 parent 4c774e1 commit 9d654a387a8c4b9a38fefb42aea511c3c55ac34a
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/parallel/test-net-write-slow.js
@@ -11,7 +11,7 @@ var buf = Buffer.alloc(SIZE, 'a');
var server = net.createServer(function(socket) {
socket.setNoDelay();
socket.setTimeout(1000);
socket.setTimeout(9999);
socket.on('timeout', function() {
assert.fail(null, null, 'flushed: ' + flushed +
', received: ' + received + '/' + SIZE * N);

0 comments on commit 9d654a3

Please sign in to comment.