From 0e856b78e9b6aca5e6a48a04af8b747dbc69658f Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 26 Nov 2020 15:16:30 +0100 Subject: Try to fix live test --- server/tests/api/live/live.ts | 3 +++ 1 file changed, 3 insertions(+) (limited to 'server/tests/api') 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 { viewVideo, wait, waitJobs, + waitUntilLiveEnded, waitUntilLivePublished, waitUntilLiveStarts, waitUntilLog @@ -587,6 +588,8 @@ describe('Test live', function () { } await stopFfmpeg(command) + await waitUntilLiveEnded(servers[0].url, servers[0].accessToken, liveVideoUUID) + await waitJobs(servers) for (const stateChanges of [ localStateChanges, remoteStateChanges ]) { -- cgit v1.2.3