From b685efca9becff7be9b23f64176ecd7776f42789 Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Tue, 5 Jul 2016 20:35:08 -0700 Subject: [PATCH] test: fix flaky test-net-write-slow Increase socket timeout so that there is enough time to reliably run the test on FreeBSD. Fixes: https://github.com/nodejs/node/issues/7516 --- test/parallel/test-net-write-slow.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/parallel/test-net-write-slow.js b/test/parallel/test-net-write-slow.js index 5c8ce84dee68ec..9acc1b31c37430 100644 --- a/test/parallel/test-net-write-slow.js +++ b/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);