diff options
Diffstat (limited to 'server/tests/api/live/live-save-replay.ts')
-rw-r--r-- | server/tests/api/live/live-save-replay.ts | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/server/tests/api/live/live-save-replay.ts b/server/tests/api/live/live-save-replay.ts index 05ffe8af9..8985c9b39 100644 --- a/server/tests/api/live/live-save-replay.ts +++ b/server/tests/api/live/live-save-replay.ts | |||
@@ -164,7 +164,7 @@ describe('Save replay setting', function () { | |||
164 | }) | 164 | }) |
165 | 165 | ||
166 | it('Should correctly have updated the live and federated it when streaming in the live', async function () { | 166 | it('Should correctly have updated the live and federated it when streaming in the live', async function () { |
167 | this.timeout(60000) | 167 | this.timeout(120000) |
168 | 168 | ||
169 | ffmpegCommand = await servers[0].live.sendRTMPStreamInVideo({ videoId: liveVideoUUID }) | 169 | ffmpegCommand = await servers[0].live.sendRTMPStreamInVideo({ videoId: liveVideoUUID }) |
170 | 170 | ||
@@ -179,7 +179,7 @@ describe('Save replay setting', function () { | |||
179 | }) | 179 | }) |
180 | 180 | ||
181 | it('Should correctly delete the video files after the stream ended', async function () { | 181 | it('Should correctly delete the video files after the stream ended', async function () { |
182 | this.timeout(60000) | 182 | this.timeout(120000) |
183 | 183 | ||
184 | sessionEndDateMin = new Date() | 184 | sessionEndDateMin = new Date() |
185 | await stopFfmpeg(ffmpegCommand) | 185 | await stopFfmpeg(ffmpegCommand) |
@@ -217,7 +217,7 @@ describe('Save replay setting', function () { | |||
217 | }) | 217 | }) |
218 | 218 | ||
219 | it('Should correctly terminate the stream on blacklist and delete the live', async function () { | 219 | it('Should correctly terminate the stream on blacklist and delete the live', async function () { |
220 | this.timeout(60000) | 220 | this.timeout(120000) |
221 | 221 | ||
222 | await publishLiveAndBlacklist({ permanent: false, replay: false }) | 222 | await publishLiveAndBlacklist({ permanent: false, replay: false }) |
223 | 223 | ||
@@ -241,7 +241,7 @@ describe('Save replay setting', function () { | |||
241 | }) | 241 | }) |
242 | 242 | ||
243 | it('Should correctly terminate the stream on delete and delete the video', async function () { | 243 | it('Should correctly terminate the stream on delete and delete the video', async function () { |
244 | this.timeout(60000) | 244 | this.timeout(120000) |
245 | 245 | ||
246 | await publishLiveAndDelete({ permanent: false, replay: false }) | 246 | await publishLiveAndDelete({ permanent: false, replay: false }) |
247 | 247 | ||
@@ -253,7 +253,7 @@ describe('Save replay setting', function () { | |||
253 | describe('With save replay enabled on non permanent live', function () { | 253 | describe('With save replay enabled on non permanent live', function () { |
254 | 254 | ||
255 | it('Should correctly create and federate the "waiting for stream" live', async function () { | 255 | it('Should correctly create and federate the "waiting for stream" live', async function () { |
256 | this.timeout(60000) | 256 | this.timeout(120000) |
257 | 257 | ||
258 | liveVideoUUID = await createLiveWrapper({ permanent: false, replay: true, replaySettings: { privacy: VideoPrivacy.UNLISTED } }) | 258 | liveVideoUUID = await createLiveWrapper({ permanent: false, replay: true, replaySettings: { privacy: VideoPrivacy.UNLISTED } }) |
259 | 259 | ||
@@ -265,7 +265,7 @@ describe('Save replay setting', function () { | |||
265 | }) | 265 | }) |
266 | 266 | ||
267 | it('Should correctly have updated the live and federated it when streaming in the live', async function () { | 267 | it('Should correctly have updated the live and federated it when streaming in the live', async function () { |
268 | this.timeout(60000) | 268 | this.timeout(120000) |
269 | 269 | ||
270 | ffmpegCommand = await servers[0].live.sendRTMPStreamInVideo({ videoId: liveVideoUUID }) | 270 | ffmpegCommand = await servers[0].live.sendRTMPStreamInVideo({ videoId: liveVideoUUID }) |
271 | await waitUntilLivePublishedOnAllServers(servers, liveVideoUUID) | 271 | await waitUntilLivePublishedOnAllServers(servers, liveVideoUUID) |
@@ -278,7 +278,7 @@ describe('Save replay setting', function () { | |||
278 | }) | 278 | }) |
279 | 279 | ||
280 | it('Should correctly have saved the live and federated it after the streaming', async function () { | 280 | it('Should correctly have saved the live and federated it after the streaming', async function () { |
281 | this.timeout(60000) | 281 | this.timeout(120000) |
282 | 282 | ||
283 | const session = await servers[0].live.findLatestSession({ videoId: liveVideoUUID }) | 283 | const session = await servers[0].live.findLatestSession({ videoId: liveVideoUUID }) |
284 | expect(session.endDate).to.not.exist | 284 | expect(session.endDate).to.not.exist |
@@ -319,7 +319,7 @@ describe('Save replay setting', function () { | |||
319 | }) | 319 | }) |
320 | 320 | ||
321 | it('Should update the saved live and correctly federate the updated attributes', async function () { | 321 | it('Should update the saved live and correctly federate the updated attributes', async function () { |
322 | this.timeout(60000) | 322 | this.timeout(120000) |
323 | 323 | ||
324 | await servers[0].videos.update({ id: liveVideoUUID, attributes: { name: 'video updated', privacy: VideoPrivacy.PUBLIC } }) | 324 | await servers[0].videos.update({ id: liveVideoUUID, attributes: { name: 'video updated', privacy: VideoPrivacy.PUBLIC } }) |
325 | await waitJobs(servers) | 325 | await waitJobs(servers) |
@@ -352,7 +352,7 @@ describe('Save replay setting', function () { | |||
352 | }) | 352 | }) |
353 | 353 | ||
354 | it('Should correctly terminate the stream on delete and delete the video', async function () { | 354 | it('Should correctly terminate the stream on delete and delete the video', async function () { |
355 | this.timeout(60000) | 355 | this.timeout(120000) |
356 | 356 | ||
357 | await publishLiveAndDelete({ permanent: false, replay: true, replaySettings: { privacy: VideoPrivacy.PUBLIC } }) | 357 | await publishLiveAndDelete({ permanent: false, replay: true, replaySettings: { privacy: VideoPrivacy.PUBLIC } }) |
358 | 358 | ||
@@ -367,7 +367,7 @@ describe('Save replay setting', function () { | |||
367 | describe('With a first live and its replay', function () { | 367 | describe('With a first live and its replay', function () { |
368 | 368 | ||
369 | it('Should correctly create and federate the "waiting for stream" live', async function () { | 369 | it('Should correctly create and federate the "waiting for stream" live', async function () { |
370 | this.timeout(60000) | 370 | this.timeout(120000) |
371 | 371 | ||
372 | liveVideoUUID = await createLiveWrapper({ permanent: true, replay: true, replaySettings: { privacy: VideoPrivacy.UNLISTED } }) | 372 | liveVideoUUID = await createLiveWrapper({ permanent: true, replay: true, replaySettings: { privacy: VideoPrivacy.UNLISTED } }) |
373 | 373 | ||
@@ -379,7 +379,7 @@ describe('Save replay setting', function () { | |||
379 | }) | 379 | }) |
380 | 380 | ||
381 | it('Should correctly have updated the live and federated it when streaming in the live', async function () { | 381 | it('Should correctly have updated the live and federated it when streaming in the live', async function () { |
382 | this.timeout(60000) | 382 | this.timeout(120000) |
383 | 383 | ||
384 | ffmpegCommand = await servers[0].live.sendRTMPStreamInVideo({ videoId: liveVideoUUID }) | 384 | ffmpegCommand = await servers[0].live.sendRTMPStreamInVideo({ videoId: liveVideoUUID }) |
385 | await waitUntilLivePublishedOnAllServers(servers, liveVideoUUID) | 385 | await waitUntilLivePublishedOnAllServers(servers, liveVideoUUID) |
@@ -392,7 +392,7 @@ describe('Save replay setting', function () { | |||
392 | }) | 392 | }) |
393 | 393 | ||
394 | it('Should correctly have saved the live and federated it after the streaming', async function () { | 394 | it('Should correctly have saved the live and federated it after the streaming', async function () { |
395 | this.timeout(60000) | 395 | this.timeout(120000) |
396 | 396 | ||
397 | const liveDetails = await servers[0].videos.get({ id: liveVideoUUID }) | 397 | const liveDetails = await servers[0].videos.get({ id: liveVideoUUID }) |
398 | 398 | ||
@@ -457,7 +457,7 @@ describe('Save replay setting', function () { | |||
457 | }) | 457 | }) |
458 | 458 | ||
459 | it('Should correctly have updated the live and federated it when streaming in the live', async function () { | 459 | it('Should correctly have updated the live and federated it when streaming in the live', async function () { |
460 | this.timeout(60000) | 460 | this.timeout(120000) |
461 | 461 | ||
462 | ffmpegCommand = await servers[0].live.sendRTMPStreamInVideo({ videoId: liveVideoUUID }) | 462 | ffmpegCommand = await servers[0].live.sendRTMPStreamInVideo({ videoId: liveVideoUUID }) |
463 | await waitUntilLivePublishedOnAllServers(servers, liveVideoUUID) | 463 | await waitUntilLivePublishedOnAllServers(servers, liveVideoUUID) |
@@ -470,7 +470,7 @@ describe('Save replay setting', function () { | |||
470 | }) | 470 | }) |
471 | 471 | ||
472 | it('Should correctly have saved the live and federated it after the streaming', async function () { | 472 | it('Should correctly have saved the live and federated it after the streaming', async function () { |
473 | this.timeout(60000) | 473 | this.timeout(120000) |
474 | 474 | ||
475 | const liveDetails = await servers[0].videos.get({ id: liveVideoUUID }) | 475 | const liveDetails = await servers[0].videos.get({ id: liveVideoUUID }) |
476 | 476 | ||
@@ -547,7 +547,7 @@ describe('Save replay setting', function () { | |||
547 | }) | 547 | }) |
548 | 548 | ||
549 | it('Should correctly terminate the stream on delete and not save the video', async function () { | 549 | it('Should correctly terminate the stream on delete and not save the video', async function () { |
550 | this.timeout(60000) | 550 | this.timeout(120000) |
551 | 551 | ||
552 | const { liveDetails } = await publishLiveAndDelete({ | 552 | const { liveDetails } = await publishLiveAndDelete({ |
553 | permanent: true, | 553 | permanent: true, |