From 25fb33ca28d0462210f6939f61b8270f75f05658 Mon Sep 17 00:00:00 2001 From: Ruben Bridgewater Date: Mon, 10 Feb 2020 13:07:30 +0100 Subject: [PATCH] test: increase test timeout to prevent flakiness This increases the waiting time for each event from 500 to 750 ms. The former timeout could be hit on very slow machines with high load. --- test/parallel/test-repl.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/parallel/test-repl.js b/test/parallel/test-repl.js index b0dad397ccc06b..d38784a988fa38 100644 --- a/test/parallel/test-repl.js +++ b/test/parallel/test-repl.js @@ -861,7 +861,7 @@ function event(ee, expected) { const data = inspect(expected, { compact: false }); const msg = `The REPL did not reply as expected for:\n\n${data}`; reject(new Error(msg)); - }, common.platformTimeout(500)); + }, common.platformTimeout(750)); ee.once('data', common.mustCall((...args) => { clearTimeout(timeout); resolve(...args);