From 27c3c9456dcf436946635c3c85d4a7653b5cccdb Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Mon, 18 Oct 2021 10:23:45 +0200 Subject: [PATCH] Increase some timeouts --- server/tests/api/notifications/moderation-notifications.ts | 2 +- server/tests/api/videos/video-imports.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/server/tests/api/notifications/moderation-notifications.ts b/server/tests/api/notifications/moderation-notifications.ts index eb3c29fe7..f806fed31 100644 --- a/server/tests/api/notifications/moderation-notifications.ts +++ b/server/tests/api/notifications/moderation-notifications.ts @@ -487,7 +487,7 @@ describe('Test moderation notifications', function () { }) it('Should send notification to moderators on new video with auto-blacklist', async function () { - this.timeout(40000) + this.timeout(120000) videoName = 'video with auto-blacklist ' + buildUUID() const video = await servers[0].videos.upload({ token: userAccessToken, attributes: { name: videoName } }) diff --git a/server/tests/api/videos/video-imports.ts b/server/tests/api/videos/video-imports.ts index 4686d5800..948c779e8 100644 --- a/server/tests/api/videos/video-imports.ts +++ b/server/tests/api/videos/video-imports.ts @@ -266,7 +266,7 @@ Ajouter un sous-titre est vraiment facile`) }) it('Should import a video that will be transcoded', async function () { - this.timeout(120_000) + this.timeout(240_000) const attributes = { name: 'transcoded video',