From d0fbc9fd0a29c37f3ff9b99030351e90b276fe7d Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 24 May 2023 15:27:15 +0200 Subject: Fix lint --- server/tests/api/live/live-save-replay.ts | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) (limited to 'server/tests') 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 () { }) it('Should correctly have updated the live and federated it when streaming in the live', async function () { - this.timeout(60000) + this.timeout(120000) ffmpegCommand = await servers[0].live.sendRTMPStreamInVideo({ videoId: liveVideoUUID }) @@ -179,7 +179,7 @@ describe('Save replay setting', function () { }) it('Should correctly delete the video files after the stream ended', async function () { - this.timeout(60000) + this.timeout(120000) sessionEndDateMin = new Date() await stopFfmpeg(ffmpegCommand) @@ -217,7 +217,7 @@ describe('Save replay setting', function () { }) it('Should correctly terminate the stream on blacklist and delete the live', async function () { - this.timeout(60000) + this.timeout(120000) await publishLiveAndBlacklist({ permanent: false, replay: false }) @@ -241,7 +241,7 @@ describe('Save replay setting', function () { }) it('Should correctly terminate the stream on delete and delete the video', async function () { - this.timeout(60000) + this.timeout(120000) await publishLiveAndDelete({ permanent: false, replay: false }) @@ -253,7 +253,7 @@ describe('Save replay setting', function () { describe('With save replay enabled on non permanent live', function () { it('Should correctly create and federate the "waiting for stream" live', async function () { - this.timeout(60000) + this.timeout(120000) liveVideoUUID = await createLiveWrapper({ permanent: false, replay: true, replaySettings: { privacy: VideoPrivacy.UNLISTED } }) @@ -265,7 +265,7 @@ describe('Save replay setting', function () { }) it('Should correctly have updated the live and federated it when streaming in the live', async function () { - this.timeout(60000) + this.timeout(120000) ffmpegCommand = await servers[0].live.sendRTMPStreamInVideo({ videoId: liveVideoUUID }) await waitUntilLivePublishedOnAllServers(servers, liveVideoUUID) @@ -278,7 +278,7 @@ describe('Save replay setting', function () { }) it('Should correctly have saved the live and federated it after the streaming', async function () { - this.timeout(60000) + this.timeout(120000) const session = await servers[0].live.findLatestSession({ videoId: liveVideoUUID }) expect(session.endDate).to.not.exist @@ -319,7 +319,7 @@ describe('Save replay setting', function () { }) it('Should update the saved live and correctly federate the updated attributes', async function () { - this.timeout(60000) + this.timeout(120000) await servers[0].videos.update({ id: liveVideoUUID, attributes: { name: 'video updated', privacy: VideoPrivacy.PUBLIC } }) await waitJobs(servers) @@ -352,7 +352,7 @@ describe('Save replay setting', function () { }) it('Should correctly terminate the stream on delete and delete the video', async function () { - this.timeout(60000) + this.timeout(120000) await publishLiveAndDelete({ permanent: false, replay: true, replaySettings: { privacy: VideoPrivacy.PUBLIC } }) @@ -367,7 +367,7 @@ describe('Save replay setting', function () { describe('With a first live and its replay', function () { it('Should correctly create and federate the "waiting for stream" live', async function () { - this.timeout(60000) + this.timeout(120000) liveVideoUUID = await createLiveWrapper({ permanent: true, replay: true, replaySettings: { privacy: VideoPrivacy.UNLISTED } }) @@ -379,7 +379,7 @@ describe('Save replay setting', function () { }) it('Should correctly have updated the live and federated it when streaming in the live', async function () { - this.timeout(60000) + this.timeout(120000) ffmpegCommand = await servers[0].live.sendRTMPStreamInVideo({ videoId: liveVideoUUID }) await waitUntilLivePublishedOnAllServers(servers, liveVideoUUID) @@ -392,7 +392,7 @@ describe('Save replay setting', function () { }) it('Should correctly have saved the live and federated it after the streaming', async function () { - this.timeout(60000) + this.timeout(120000) const liveDetails = await servers[0].videos.get({ id: liveVideoUUID }) @@ -457,7 +457,7 @@ describe('Save replay setting', function () { }) it('Should correctly have updated the live and federated it when streaming in the live', async function () { - this.timeout(60000) + this.timeout(120000) ffmpegCommand = await servers[0].live.sendRTMPStreamInVideo({ videoId: liveVideoUUID }) await waitUntilLivePublishedOnAllServers(servers, liveVideoUUID) @@ -470,7 +470,7 @@ describe('Save replay setting', function () { }) it('Should correctly have saved the live and federated it after the streaming', async function () { - this.timeout(60000) + this.timeout(120000) const liveDetails = await servers[0].videos.get({ id: liveVideoUUID }) @@ -547,7 +547,7 @@ describe('Save replay setting', function () { }) it('Should correctly terminate the stream on delete and not save the video', async function () { - this.timeout(60000) + this.timeout(120000) const { liveDetails } = await publishLiveAndDelete({ permanent: true, -- cgit v1.2.3