diff options
Diffstat (limited to 'server/tests/api/live')
-rw-r--r-- | server/tests/api/live/live.ts | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/server/tests/api/live/live.ts b/server/tests/api/live/live.ts index 4f84882ff..f99e7ad46 100644 --- a/server/tests/api/live/live.ts +++ b/server/tests/api/live/live.ts | |||
@@ -39,6 +39,7 @@ import { | |||
39 | viewVideo, | 39 | viewVideo, |
40 | wait, | 40 | wait, |
41 | waitJobs, | 41 | waitJobs, |
42 | waitUntilLiveEnded, | ||
42 | waitUntilLivePublished, | 43 | waitUntilLivePublished, |
43 | waitUntilLiveStarts, | 44 | waitUntilLiveStarts, |
44 | waitUntilLog | 45 | waitUntilLog |
@@ -587,6 +588,8 @@ describe('Test live', function () { | |||
587 | } | 588 | } |
588 | 589 | ||
589 | await stopFfmpeg(command) | 590 | await stopFfmpeg(command) |
591 | await waitUntilLiveEnded(servers[0].url, servers[0].accessToken, liveVideoUUID) | ||
592 | |||
590 | await waitJobs(servers) | 593 | await waitJobs(servers) |
591 | 594 | ||
592 | for (const stateChanges of [ localStateChanges, remoteStateChanges ]) { | 595 | for (const stateChanges of [ localStateChanges, remoteStateChanges ]) { |