From 830907ec93a11a2f1ccecda08d4928d7f421fbce Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 18 Oct 2023 15:47:41 +0200 Subject: [PATCH] Increase test timeouts --- packages/tests/src/api/transcoding/transcoder.ts | 6 +++--- packages/tests/src/api/videos/video-playlists.ts | 2 +- packages/tests/src/api/videos/video-source.ts | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/tests/src/api/transcoding/transcoder.ts b/packages/tests/src/api/transcoding/transcoder.ts index bce525fb0..dd4948ee6 100644 --- a/packages/tests/src/api/transcoding/transcoder.ts +++ b/packages/tests/src/api/transcoding/transcoder.ts @@ -234,7 +234,7 @@ describe('Test video transcoding', function () { describe('Audio transcoding', function () { it('Should transcode high bit rate mp3 to proper bit rate', async function () { - this.timeout(60_000) + this.timeout(120_000) const attributes = { name: 'mp3_256k', @@ -266,7 +266,7 @@ describe('Test video transcoding', function () { }) it('Should transcode video with no audio and have no audio itself', async function () { - this.timeout(60_000) + this.timeout(120_000) const attributes = { name: 'no_audio', @@ -290,7 +290,7 @@ describe('Test video transcoding', function () { }) it('Should leave the audio untouched, but properly transcode the video', async function () { - this.timeout(60_000) + this.timeout(120_000) const attributes = { name: 'untouched_audio', diff --git a/packages/tests/src/api/videos/video-playlists.ts b/packages/tests/src/api/videos/video-playlists.ts index 77c8d6436..8908730cf 100644 --- a/packages/tests/src/api/videos/video-playlists.ts +++ b/packages/tests/src/api/videos/video-playlists.ts @@ -537,7 +537,7 @@ describe('Test video playlists', function () { describe('Element timestamps', function () { it('Should create a playlist containing different startTimestamp/endTimestamp videos', async function () { - this.timeout(30000) + this.timeout(60000) const addVideo = (attributes: any) => { return commands[0].addElement({ playlistId: playlistServer1Id, attributes }) diff --git a/packages/tests/src/api/videos/video-source.ts b/packages/tests/src/api/videos/video-source.ts index cbde5c4b2..02d21b64b 100644 --- a/packages/tests/src/api/videos/video-source.ts +++ b/packages/tests/src/api/videos/video-source.ts @@ -26,7 +26,7 @@ describe('Test a video file replacement', function () { let uuid: string before(async function () { - this.timeout(50000) + this.timeout(120000) servers = await createMultipleServers(2)