From db020b4e59d574b64d7a6f761fbf0a1b67886113 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 PR-URL: https://github.com/nodejs/node/pull/7555 Reviewed-By: Matteo Collina Reviewed-By: Santiago Gimeno --- 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 8ded93ee71a8d3..3714ed906e4c71 100644 --- a/test/parallel/test-net-write-slow.js +++ b/test/parallel/test-net-write-slow.js @@ -12,7 +12,7 @@ buf.fill(0x61); // '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);