Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
  • Loading branch information
Trott committed Jul 6, 2016
commit b685efca9becff7be9b23f64176ecd7776f42789
2 changes: 1 addition & 1 deletion test/parallel/test-net-write-slow.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down