From 21609258dee096e1ecc3af7a2b9e841742ef7f7d Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 5 May 2023 14:35:59 +0200 Subject: Increase timeouts --- server/tests/api/live/live-constraints.ts | 2 +- server/tests/api/live/live.ts | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'server/tests/api') diff --git a/server/tests/api/live/live-constraints.ts b/server/tests/api/live/live-constraints.ts index fabb8798d..59e27cc62 100644 --- a/server/tests/api/live/live-constraints.ts +++ b/server/tests/api/live/live-constraints.ts @@ -190,7 +190,7 @@ describe('Test live constraints', function () { }) it('Should have max duration limit', async function () { - this.timeout(60000) + this.timeout(240000) await servers[0].config.updateCustomSubConfig({ newConfig: { diff --git a/server/tests/api/live/live.ts b/server/tests/api/live/live.ts index f9b0d257b..592548b52 100644 --- a/server/tests/api/live/live.ts +++ b/server/tests/api/live/live.ts @@ -447,7 +447,7 @@ describe('Test live', function () { }) it('Should enable transcoding with some resolutions', async function () { - this.timeout(120000) + this.timeout(240000) const resolutions = [ 240, 480 ] await updateConf(resolutions) @@ -499,7 +499,7 @@ describe('Test live', function () { }) it('Should enable transcoding with some resolutions and correctly save them', async function () { - this.timeout(400_000) + this.timeout(500_000) const resolutions = [ 240, 360, 720 ] @@ -586,7 +586,7 @@ describe('Test live', function () { }) it('Should not generate an upper resolution than original file', async function () { - this.timeout(400_000) + this.timeout(500_000) const resolutions = [ 240, 480 ] await updateConf(resolutions) -- cgit v1.2.3