From e0b283af732ab07773fb6585a00765eba9ade13c 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 PR-URL: https://github.com/nodejs/node/pull/5856 Reviewed-By: James M Snell Reviewed-By: Colin Ihrig --- 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() {