Skip to content

Commit 31b062d

Browse files
Trotttargos
authored andcommitted
test: fix flaky test-repl
The timeout is insufficient in CI (failures on Raspberry Pi) and I can reproduce locally (on macOS) with `tools/test.py -j 96 --repeat 192 test-repl`. Increase timeout drastically as it only is useful in an error condition. PR-URL: #36415 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent 2a60e3b commit 31b062d

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
@@ -926,7 +926,7 @@ function event(ee, expected) {
926926
const data = inspect(expected, { compact: false });
927927
const msg = `The REPL did not reply as expected for:\n\n${data}`;
928928
reject(new Error(msg));
929-
}, common.platformTimeout(1000));
929+
}, common.platformTimeout(9999));
930930
ee.once('data', common.mustCall((...args) => {
931931
clearTimeout(timeout);
932932
resolve(...args);

0 commit comments

Comments
 (0)