From ab5f1356b9fbc575cb0b126ca21bb809a6475089 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Mon, 21 Aug 2023 15:04:33 +0200 Subject: Try to fix github ci --- packages/tests/src/api/live/live-constraints.ts | 13 +++++++++++-- packages/tests/src/api/videos/video-passwords.ts | 2 +- 2 files changed, 12 insertions(+), 3 deletions(-) (limited to 'packages/tests') diff --git a/packages/tests/src/api/live/live-constraints.ts b/packages/tests/src/api/live/live-constraints.ts index f62994cbd..725e35d23 100644 --- a/packages/tests/src/api/live/live-constraints.ts +++ b/packages/tests/src/api/live/live-constraints.ts @@ -213,7 +213,16 @@ describe('Test live constraints', function () { maxDuration: 15, transcoding: { enabled: true, - resolutions: ConfigCommand.getCustomConfigResolutions(true) + resolutions: { + '144p': true, + '240p': true, + '360p': false, + '480p': false, + '720p': true, + '1080p': false, + '1440p': false, + '2160p': false + } } } } @@ -225,7 +234,7 @@ describe('Test live constraints', function () { await waitUntilLiveReplacedByReplayOnAllServers(servers, userVideoLiveoId) await waitJobs(servers) - await checkSaveReplay(userVideoLiveoId, [ 720, 480, 360, 240, 144 ]) + await checkSaveReplay(userVideoLiveoId, [ 720, 240, 144 ]) const session = await servers[0].live.getReplaySession({ videoId: userVideoLiveoId }) expect(session.error).to.equal(LiveVideoError.DURATION_EXCEEDED) diff --git a/packages/tests/src/api/videos/video-passwords.ts b/packages/tests/src/api/videos/video-passwords.ts index 60e0e28bd..d943afec0 100644 --- a/packages/tests/src/api/videos/video-passwords.ts +++ b/packages/tests/src/api/videos/video-passwords.ts @@ -22,7 +22,7 @@ describe('Test video passwords', function () { let command: VideoPasswordsCommand before(async function () { - this.timeout(30000) + this.timeout(120000) server = await createSingleServer(1) -- cgit v1.2.3