Skip to content

Commit 41ac192

Browse files
committed
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 e9fa5ae commit 41ac192

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎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
constdata=inspect(expected,{compact: false});
862862
constmsg=`The REPL did not reply as expected for:\n\n${data}`;
863863
reject(newError(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)