From 0fbc0dec59684527fad8772080a8e1f928c07ea1 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 9 Dec 2021 15:44:54 +0100 Subject: Fix tests --- server/tests/api/redundancy/redundancy.ts | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'server/tests/api/redundancy/redundancy.ts') diff --git a/server/tests/api/redundancy/redundancy.ts b/server/tests/api/redundancy/redundancy.ts index 86b40cfe6..b5929129a 100644 --- a/server/tests/api/redundancy/redundancy.ts +++ b/server/tests/api/redundancy/redundancy.ts @@ -307,7 +307,7 @@ describe('Test videos redundancy', function () { const strategy = 'most-views' before(function () { - this.timeout(120000) + this.timeout(240000) return createServers(strategy) }) @@ -357,7 +357,7 @@ describe('Test videos redundancy', function () { const strategy = 'trending' before(function () { - this.timeout(120000) + this.timeout(240000) return createServers(strategy) }) @@ -420,7 +420,7 @@ describe('Test videos redundancy', function () { const strategy = 'recently-added' before(function () { - this.timeout(120000) + this.timeout(240000) return createServers(strategy, { min_views: 3 }) }) @@ -491,7 +491,7 @@ describe('Test videos redundancy', function () { const strategy = 'recently-added' before(async function () { - this.timeout(120000) + this.timeout(240000) await createServers(strategy, { min_views: 3 }, false) }) @@ -553,7 +553,7 @@ describe('Test videos redundancy', function () { describe('With manual strategy', function () { before(function () { - this.timeout(120000) + this.timeout(240000) return createServers(null) }) @@ -632,7 +632,7 @@ describe('Test videos redundancy', function () { } before(async function () { - this.timeout(120000) + this.timeout(240000) await createServers(strategy, { min_lifetime: '7 seconds', min_views: 0 }) @@ -674,7 +674,7 @@ describe('Test videos redundancy', function () { const strategy = 'recently-added' before(async function () { - this.timeout(120000) + this.timeout(240000) await createServers(strategy, { min_lifetime: '7 seconds', min_views: 0 }) @@ -698,7 +698,7 @@ describe('Test videos redundancy', function () { }) it('Should cache video 2 webseeds on the first video', async function () { - this.timeout(120000) + this.timeout(240000) await waitJobs(servers) -- cgit v1.2.3