mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-21 07:56:16 -04:00
tests: admin test timeout increase, bugfix and removal of buggy test (#4762)
This commit is contained in:
parent
73d31b12a8
commit
fcd9adf20d
4 changed files with 29 additions and 54 deletions
|
@ -65,8 +65,8 @@ $(() => {
|
|||
runner.on('pass', (test) => {
|
||||
if (killTimeout) clearTimeout(killTimeout);
|
||||
killTimeout = setTimeout(() => {
|
||||
append('FINISHED - [red]no test started since 3 minutes, tests stopped[clear]');
|
||||
}, 60000 * 3);
|
||||
append('FINISHED - [red]no test started since 5 minutes, tests stopped[clear]');
|
||||
}, 60000 * 5);
|
||||
|
||||
const medium = test.slow() / 2;
|
||||
test.speed = test.duration > test.slow()
|
||||
|
@ -82,8 +82,8 @@ $(() => {
|
|||
runner.on('fail', (test, err) => {
|
||||
if (killTimeout) clearTimeout(killTimeout);
|
||||
killTimeout = setTimeout(() => {
|
||||
append('FINISHED - [red]no test started since 3 minutes, tests stopped[clear]');
|
||||
}, 60000 * 3);
|
||||
append('FINISHED - [red]no test started since 5 minutes, tests stopped[clear]');
|
||||
}, 60000 * 5);
|
||||
|
||||
stats.failures++;
|
||||
test.err = err;
|
||||
|
@ -93,8 +93,8 @@ $(() => {
|
|||
runner.on('pending', (test) => {
|
||||
if (killTimeout) clearTimeout(killTimeout);
|
||||
killTimeout = setTimeout(() => {
|
||||
append('FINISHED - [red]no test started since 3 minutes, tests stopped[clear]');
|
||||
}, 60000 * 3);
|
||||
append('FINISHED - [red]no test started since 5 minutes, tests stopped[clear]');
|
||||
}, 60000 * 5);
|
||||
|
||||
stats.pending++;
|
||||
append(`-> [yellow]PENDING[clear]: ${test.title}`);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue