diff options
author | Chocobozzz <me@florianbigard.com> | 2020-12-09 14:42:42 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2020-12-09 14:45:47 +0100 |
commit | 0d8de2756fdc43be61a82a96c17d12ee52ba0143 (patch) | |
tree | 85b02e683f0dc475e044356dc5adb6246181959d /server/tests/api/live/live-permanent.ts | |
parent | e0fea785bf28966da09cdc16a274c9e750b488f4 (diff) | |
download | PeerTube-0d8de2756fdc43be61a82a96c17d12ee52ba0143.tar.gz PeerTube-0d8de2756fdc43be61a82a96c17d12ee52ba0143.tar.zst PeerTube-0d8de2756fdc43be61a82a96c17d12ee52ba0143.zip |
Fix live tests
Diffstat (limited to 'server/tests/api/live/live-permanent.ts')
-rw-r--r-- | server/tests/api/live/live-permanent.ts | 6 |
1 files changed, 3 insertions, 3 deletions
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 { | |||
20 | updateLive, | 20 | updateLive, |
21 | wait, | 21 | wait, |
22 | waitJobs, | 22 | waitJobs, |
23 | waitUntilLiveStarts | 23 | waitUntilLivePublished |
24 | } from '../../../../shared/extra-utils' | 24 | } from '../../../../shared/extra-utils' |
25 | 25 | ||
26 | const expect = chai.expect | 26 | const expect = chai.expect |
@@ -116,7 +116,7 @@ describe('Permenant live', function () { | |||
116 | const command = await sendRTMPStreamInVideo(servers[0].url, servers[0].accessToken, videoUUID) | 116 | const command = await sendRTMPStreamInVideo(servers[0].url, servers[0].accessToken, videoUUID) |
117 | 117 | ||
118 | for (const server of servers) { | 118 | for (const server of servers) { |
119 | await waitUntilLiveStarts(server.url, server.accessToken, videoUUID) | 119 | await waitUntilLivePublished(server.url, server.accessToken, videoUUID) |
120 | } | 120 | } |
121 | 121 | ||
122 | await checkVideoState(videoUUID, VideoState.PUBLISHED) | 122 | await checkVideoState(videoUUID, VideoState.PUBLISHED) |
@@ -171,7 +171,7 @@ describe('Permenant live', function () { | |||
171 | const command = await sendRTMPStreamInVideo(servers[0].url, servers[0].accessToken, videoUUID) | 171 | const command = await sendRTMPStreamInVideo(servers[0].url, servers[0].accessToken, videoUUID) |
172 | 172 | ||
173 | for (const server of servers) { | 173 | for (const server of servers) { |
174 | await waitUntilLiveStarts(server.url, server.accessToken, videoUUID) | 174 | await waitUntilLivePublished(server.url, server.accessToken, videoUUID) |
175 | } | 175 | } |
176 | 176 | ||
177 | await checkVideoState(videoUUID, VideoState.PUBLISHED) | 177 | await checkVideoState(videoUUID, VideoState.PUBLISHED) |