Skip to content

Commit 9716729

Browse files
Trottevanlucas
authored andcommitted
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>
1 parent 663b103 commit 9716729

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎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
varserver=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)