From 1fe65dde5cd7a1639a2537c048270e57db35dd2d Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Tue, 22 Mar 2016 20:12:45 -0700 Subject: [PATCH] test: fix flaky test-http-set-timeout Increase timeout on Raspberry Pi to alleviate flakiness. Fixes: https://github.com/nodejs/node/issues/5854 --- test/parallel/test-http-set-timeout.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/parallel/test-http-set-timeout.js b/test/parallel/test-http-set-timeout.js index 9bda60b2226443..ca238de43144e2 100644 --- a/test/parallel/test-http-set-timeout.js +++ b/test/parallel/test-http-set-timeout.js @@ -20,7 +20,7 @@ server.listen(common.PORT, function() { var errorTimer = setTimeout(function() { throw new Error('Timeout was not successful'); - }, 2000); + }, common.platformTimeout(2000)); var x = http.get({port: common.PORT, path: '/'}); x.on('error', function() {