aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/live/live-save-replay.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/tests/api/live/live-save-replay.ts')
-rw-r--r--server/tests/api/live/live-save-replay.ts14
1 files changed, 7 insertions, 7 deletions
diff --git a/server/tests/api/live/live-save-replay.ts b/server/tests/api/live/live-save-replay.ts
index e300ec345..bd683b2bf 100644
--- a/server/tests/api/live/live-save-replay.ts
+++ b/server/tests/api/live/live-save-replay.ts
@@ -23,7 +23,7 @@ import {
23 updateCustomSubConfig, 23 updateCustomSubConfig,
24 updateVideo, 24 updateVideo,
25 waitJobs, 25 waitJobs,
26 waitUntilLiveStarts 26 waitUntilLivePublished
27} from '../../../../shared/extra-utils' 27} from '../../../../shared/extra-utils'
28import { HttpStatusCode } from '../../../../shared/core-utils/miscs/http-error-codes' 28import { HttpStatusCode } from '../../../../shared/core-utils/miscs/http-error-codes'
29 29
@@ -127,7 +127,7 @@ describe('Save replay setting', function () {
127 this.timeout(20000) 127 this.timeout(20000)
128 128
129 ffmpegCommand = await sendRTMPStreamInVideo(servers[0].url, servers[0].accessToken, liveVideoUUID) 129 ffmpegCommand = await sendRTMPStreamInVideo(servers[0].url, servers[0].accessToken, liveVideoUUID)
130 await waitUntilLiveStarts(servers[0].url, servers[0].accessToken, liveVideoUUID) 130 await waitUntilLivePublished(servers[0].url, servers[0].accessToken, liveVideoUUID)
131 131
132 await waitJobs(servers) 132 await waitJobs(servers)
133 133
@@ -156,7 +156,7 @@ describe('Save replay setting', function () {
156 liveVideoUUID = await createLiveWrapper(false) 156 liveVideoUUID = await createLiveWrapper(false)
157 157
158 ffmpegCommand = await sendRTMPStreamInVideo(servers[0].url, servers[0].accessToken, liveVideoUUID) 158 ffmpegCommand = await sendRTMPStreamInVideo(servers[0].url, servers[0].accessToken, liveVideoUUID)
159 await waitUntilLiveStarts(servers[0].url, servers[0].accessToken, liveVideoUUID) 159 await waitUntilLivePublished(servers[0].url, servers[0].accessToken, liveVideoUUID)
160 160
161 await waitJobs(servers) 161 await waitJobs(servers)
162 await checkVideosExist(liveVideoUUID, true, HttpStatusCode.OK_200) 162 await checkVideosExist(liveVideoUUID, true, HttpStatusCode.OK_200)
@@ -182,7 +182,7 @@ describe('Save replay setting', function () {
182 liveVideoUUID = await createLiveWrapper(false) 182 liveVideoUUID = await createLiveWrapper(false)
183 183
184 ffmpegCommand = await sendRTMPStreamInVideo(servers[0].url, servers[0].accessToken, liveVideoUUID) 184 ffmpegCommand = await sendRTMPStreamInVideo(servers[0].url, servers[0].accessToken, liveVideoUUID)
185 await waitUntilLiveStarts(servers[0].url, servers[0].accessToken, liveVideoUUID) 185 await waitUntilLivePublished(servers[0].url, servers[0].accessToken, liveVideoUUID)
186 186
187 await waitJobs(servers) 187 await waitJobs(servers)
188 await checkVideosExist(liveVideoUUID, true, HttpStatusCode.OK_200) 188 await checkVideosExist(liveVideoUUID, true, HttpStatusCode.OK_200)
@@ -216,7 +216,7 @@ describe('Save replay setting', function () {
216 this.timeout(20000) 216 this.timeout(20000)
217 217
218 ffmpegCommand = await sendRTMPStreamInVideo(servers[0].url, servers[0].accessToken, liveVideoUUID) 218 ffmpegCommand = await sendRTMPStreamInVideo(servers[0].url, servers[0].accessToken, liveVideoUUID)
219 await waitUntilLiveStarts(servers[0].url, servers[0].accessToken, liveVideoUUID) 219 await waitUntilLivePublished(servers[0].url, servers[0].accessToken, liveVideoUUID)
220 220
221 await waitJobs(servers) 221 await waitJobs(servers)
222 222
@@ -259,7 +259,7 @@ describe('Save replay setting', function () {
259 liveVideoUUID = await createLiveWrapper(true) 259 liveVideoUUID = await createLiveWrapper(true)
260 260
261 ffmpegCommand = await sendRTMPStreamInVideo(servers[0].url, servers[0].accessToken, liveVideoUUID) 261 ffmpegCommand = await sendRTMPStreamInVideo(servers[0].url, servers[0].accessToken, liveVideoUUID)
262 await waitUntilLiveStarts(servers[0].url, servers[0].accessToken, liveVideoUUID) 262 await waitUntilLivePublished(servers[0].url, servers[0].accessToken, liveVideoUUID)
263 263
264 await waitJobs(servers) 264 await waitJobs(servers)
265 await checkVideosExist(liveVideoUUID, true, HttpStatusCode.OK_200) 265 await checkVideosExist(liveVideoUUID, true, HttpStatusCode.OK_200)
@@ -285,7 +285,7 @@ describe('Save replay setting', function () {
285 liveVideoUUID = await createLiveWrapper(true) 285 liveVideoUUID = await createLiveWrapper(true)
286 286
287 ffmpegCommand = await sendRTMPStreamInVideo(servers[0].url, servers[0].accessToken, liveVideoUUID) 287 ffmpegCommand = await sendRTMPStreamInVideo(servers[0].url, servers[0].accessToken, liveVideoUUID)
288 await waitUntilLiveStarts(servers[0].url, servers[0].accessToken, liveVideoUUID) 288 await waitUntilLivePublished(servers[0].url, servers[0].accessToken, liveVideoUUID)
289 289
290 await waitJobs(servers) 290 await waitJobs(servers)
291 await checkVideosExist(liveVideoUUID, true, HttpStatusCode.OK_200) 291 await checkVideosExist(liveVideoUUID, true, HttpStatusCode.OK_200)