From e901579b00fbcd8fc0f7b45fd841636329148a34 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 17 May 2023 16:42:57 +0200 Subject: Fix tests --- server/tests/api/check-params/video-captions.ts | 2 +- server/tests/api/notifications/moderation-notifications.ts | 2 +- server/tests/api/notifications/registrations-notifications.ts | 2 +- server/tests/api/search/search-videos.ts | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'server/tests/api') diff --git a/server/tests/api/check-params/video-captions.ts b/server/tests/api/check-params/video-captions.ts index bfce5ca47..532dab1c4 100644 --- a/server/tests/api/check-params/video-captions.ts +++ b/server/tests/api/check-params/video-captions.ts @@ -23,7 +23,7 @@ describe('Test video captions API validator', function () { // --------------------------------------------------------------- before(async function () { - this.timeout(30000) + this.timeout(120000) server = await createSingleServer(1) diff --git a/server/tests/api/notifications/moderation-notifications.ts b/server/tests/api/notifications/moderation-notifications.ts index fa75182e1..d80de821e 100644 --- a/server/tests/api/notifications/moderation-notifications.ts +++ b/server/tests/api/notifications/moderation-notifications.ts @@ -33,7 +33,7 @@ describe('Test moderation notifications', function () { let emails: object[] = [] before(async function () { - this.timeout(50000) + this.timeout(120000) const res = await prepareNotificationsTest(3) emails = res.emails diff --git a/server/tests/api/notifications/registrations-notifications.ts b/server/tests/api/notifications/registrations-notifications.ts index b5a7c2bb5..d20fc8df3 100644 --- a/server/tests/api/notifications/registrations-notifications.ts +++ b/server/tests/api/notifications/registrations-notifications.ts @@ -21,7 +21,7 @@ describe('Test registrations notifications', function () { let baseParams: CheckerBaseParams before(async function () { - this.timeout(50000) + this.timeout(120000) const res = await prepareNotificationsTest(1) diff --git a/server/tests/api/search/search-videos.ts b/server/tests/api/search/search-videos.ts index 5e85e3aa7..66c462942 100644 --- a/server/tests/api/search/search-videos.ts +++ b/server/tests/api/search/search-videos.ts @@ -26,7 +26,7 @@ describe('Test videos search', function () { let command: SearchCommand before(async function () { - this.timeout(240000) + this.timeout(360000) const servers = await Promise.all([ createSingleServer(1), -- cgit v1.2.3