[CI > Test] Fix infinite running test
This commit is contained in:
parent
ce45959a64
commit
91d4294a6a
1 changed files with 2 additions and 1 deletions
|
@ -28,7 +28,8 @@ const test = () => {
|
||||||
if (anyOutput) return;
|
if (anyOutput) return;
|
||||||
console.log('detected no output in 5s, retrying...');
|
console.log('detected no output in 5s, retrying...');
|
||||||
proc.kill();
|
proc.kill();
|
||||||
|
test();
|
||||||
}, 5000);
|
}, 5000);
|
||||||
};
|
};
|
||||||
|
|
||||||
while (true) test();
|
test();
|
Loading…
Add table
Add a link
Reference in a new issue