Skip to content

Commit 6a9654a

Browse files
BridgeARMylesBorins
authored andcommitted
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. PR-URL: #31716 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Anna Henningsen <[email protected]>
1 parent cba75c5 commit 6a9654a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/parallel/test-repl.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -861,7 +861,7 @@ function event(ee, expected) {
861861
const data = inspect(expected, { compact: false });
862862
const msg = `The REPL did not reply as expected for:\n\n${data}`;
863863
reject(new Error(msg));
864-
}, common.platformTimeout(500));
864+
}, common.platformTimeout(1000));
865865
ee.once('data', common.mustCall((...args) => {
866866
clearTimeout(timeout);
867867
resolve(...args);

0 commit comments

Comments
 (0)