FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

test: increase test timeout to prevent flakiness · nodejs/node@6a9654a · GitHub

/ node Public

Commit 6a9654a

Browse files
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 <jasnell@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net>
1 parent cba75c5 commit 6a9654a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎test/parallel/test-repl.js‎

Lines changed: 1 addition & 1 deletion
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)

Back | FazBrowse Home | New Git URL