Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit a037e5e

Browse files
TrottMyles Borins
authored and
Myles Borins
committedJul 12, 2016
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 d749147 commit a037e5e

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)
Please sign in to comment.