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 +++--- server/tests/peertube-runner/client-cli.ts | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'server') 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) diff --git a/server/tests/peertube-runner/client-cli.ts b/server/tests/peertube-runner/client-cli.ts index 90bf73ef7..ff70e599f 100644 --- a/server/tests/peertube-runner/client-cli.ts +++ b/server/tests/peertube-runner/client-cli.ts @@ -64,8 +64,8 @@ describe('Test peertube-runner program client CLI', function () { }) after(async function () { - await cleanupTests([ server ]) - peertubeRunner.kill() + + await cleanupTests([ server ]) }) }) -- cgit v1.2.3