diff options
-rw-r--r-- | server/tests/api/live/live.ts | 8 | ||||
-rw-r--r-- | shared/extra-utils/videos/live.ts | 2 |
2 files changed, 5 insertions, 5 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) |
diff --git a/shared/extra-utils/videos/live.ts b/shared/extra-utils/videos/live.ts index f90dd420d..4bfcc583e 100644 --- a/shared/extra-utils/videos/live.ts +++ b/shared/extra-utils/videos/live.ts | |||
@@ -111,7 +111,7 @@ async function testFfmpegStreamError (command: ffmpeg.FfmpegCommand, shouldHaveE | |||
111 | let error: Error | 111 | let error: Error |
112 | 112 | ||
113 | try { | 113 | try { |
114 | await waitFfmpegUntilError(command, 10000) | 114 | await waitFfmpegUntilError(command, 15000) |
115 | } catch (err) { | 115 | } catch (err) { |
116 | error = err | 116 | error = err |
117 | } | 117 | } |