From 0d8de2756fdc43be61a82a96c17d12ee52ba0143 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 9 Dec 2020 14:42:42 +0100 Subject: Fix live tests --- server/tests/api/live/live-permanent.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'server/tests/api/live/live-permanent.ts') diff --git a/server/tests/api/live/live-permanent.ts b/server/tests/api/live/live-permanent.ts index 54e4010e9..2701c65e3 100644 --- a/server/tests/api/live/live-permanent.ts +++ b/server/tests/api/live/live-permanent.ts @@ -20,7 +20,7 @@ import { updateLive, wait, waitJobs, - waitUntilLiveStarts + waitUntilLivePublished } from '../../../../shared/extra-utils' const expect = chai.expect @@ -116,7 +116,7 @@ describe('Permenant live', function () { const command = await sendRTMPStreamInVideo(servers[0].url, servers[0].accessToken, videoUUID) for (const server of servers) { - await waitUntilLiveStarts(server.url, server.accessToken, videoUUID) + await waitUntilLivePublished(server.url, server.accessToken, videoUUID) } await checkVideoState(videoUUID, VideoState.PUBLISHED) @@ -171,7 +171,7 @@ describe('Permenant live', function () { const command = await sendRTMPStreamInVideo(servers[0].url, servers[0].accessToken, videoUUID) for (const server of servers) { - await waitUntilLiveStarts(server.url, server.accessToken, videoUUID) + await waitUntilLivePublished(server.url, server.accessToken, videoUUID) } await checkVideoState(videoUUID, VideoState.PUBLISHED) -- cgit v1.2.3