diff options
Diffstat (limited to 'server/tests/api')
-rw-r--r-- | server/tests/api/live/live.ts | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/server/tests/api/live/live.ts b/server/tests/api/live/live.ts index de3181928..29081c6cc 100644 --- a/server/tests/api/live/live.ts +++ b/server/tests/api/live/live.ts | |||
@@ -462,17 +462,17 @@ describe('Test live', function () { | |||
462 | await viewVideo(servers[0].url, liveVideoId) | 462 | await viewVideo(servers[0].url, liveVideoId) |
463 | await viewVideo(servers[0].url, liveVideoId) | 463 | await viewVideo(servers[0].url, liveVideoId) |
464 | 464 | ||
465 | await wait(5000) | 465 | await wait(7000) |
466 | 466 | ||
467 | await waitJobs(servers) | 467 | await waitJobs(servers) |
468 | 468 | ||
469 | await countViews(1) | 469 | await countViews(1) |
470 | }) | 470 | }) |
471 | 471 | ||
472 | it('Should wait 5 seconds and display 0 views', async function () { | 472 | it('Should wait and display 0 views', async function () { |
473 | this.timeout(30000) | 473 | this.timeout(30000) |
474 | 474 | ||
475 | await wait(5000) | 475 | await wait(7000) |
476 | await waitJobs(servers) | 476 | await waitJobs(servers) |
477 | 477 | ||
478 | await countViews(0) | 478 | await countViews(0) |
@@ -485,7 +485,7 @@ describe('Test live', function () { | |||
485 | await viewVideo(servers[1].url, liveVideoId) | 485 | await viewVideo(servers[1].url, liveVideoId) |
486 | await viewVideo(servers[1].url, liveVideoId) | 486 | await viewVideo(servers[1].url, liveVideoId) |
487 | 487 | ||
488 | await wait(5000) | 488 | await wait(7000) |
489 | await waitJobs(servers) | 489 | await waitJobs(servers) |
490 | 490 | ||
491 | await countViews(2) | 491 | await countViews(2) |