Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.
  • Loading branch information
BridgeAR committed Feb 10, 2020
commit 25fb33ca28d0462210f6939f61b8270f75f05658
2 changes: 1 addition & 1 deletion test/parallel/test-repl.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down