aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests
diff options
context:
space:
mode:
Diffstat (limited to 'server/tests')
-rw-r--r--server/tests/api/live/live.ts11
1 files changed, 9 insertions, 2 deletions
diff --git a/server/tests/api/live/live.ts b/server/tests/api/live/live.ts
index 843943bba..d0586499b 100644
--- a/server/tests/api/live/live.ts
+++ b/server/tests/api/live/live.ts
@@ -579,7 +579,11 @@ describe('Test live', function () {
579 } 579 }
580 580
581 const command = await sendRTMPStreamInVideo(servers[0].url, servers[0].accessToken, liveVideoUUID) 581 const command = await sendRTMPStreamInVideo(servers[0].url, servers[0].accessToken, liveVideoUUID)
582 await waitUntilLiveStarts(servers[0].url, servers[0].accessToken, liveVideoUUID) 582
583 for (const server of servers) {
584 await waitUntilLiveStarts(server.url, server.accessToken, liveVideoUUID)
585 }
586
583 await waitJobs(servers) 587 await waitJobs(servers)
584 588
585 for (const stateChanges of [ localStateChanges, remoteStateChanges ]) { 589 for (const stateChanges of [ localStateChanges, remoteStateChanges ]) {
@@ -588,7 +592,10 @@ describe('Test live', function () {
588 } 592 }
589 593
590 await stopFfmpeg(command) 594 await stopFfmpeg(command)
591 await waitUntilLiveEnded(servers[0].url, servers[0].accessToken, liveVideoUUID) 595
596 for (const server of servers) {
597 await waitUntilLiveEnded(server.url, server.accessToken, liveVideoUUID)
598 }
592 599
593 await waitJobs(servers) 600 await waitJobs(servers)
594 601