From 36305301cb31fb8f66c4e544e91f8e5e3228c2ee Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 28 Sep 2022 08:24:18 +0200 Subject: Set AKISMET_KEY as env --- server/tests/api/videos/multiple-servers.ts | 2 +- server/tests/api/videos/video-files.ts | 2 +- server/tests/api/videos/video-playlists.ts | 2 +- server/tests/api/videos/video-privacy.ts | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'server/tests/api') diff --git a/server/tests/api/videos/multiple-servers.ts b/server/tests/api/videos/multiple-servers.ts index d47807a79..2ad749fd4 100644 --- a/server/tests/api/videos/multiple-servers.ts +++ b/server/tests/api/videos/multiple-servers.ts @@ -156,7 +156,7 @@ describe('Test multiple servers', function () { }) it('Should upload the video on server 2 and propagate on each server', async function () { - this.timeout(100000) + this.timeout(240000) const user = { username: 'user1', diff --git a/server/tests/api/videos/video-files.ts b/server/tests/api/videos/video-files.ts index 10277b9cf..c0b886aad 100644 --- a/server/tests/api/videos/video-files.ts +++ b/server/tests/api/videos/video-files.ts @@ -33,7 +33,7 @@ describe('Test videos files', function () { let validId2: string before(async function () { - this.timeout(120_000) + this.timeout(360_000) { const { uuid } = await servers[0].videos.quickUpload({ name: 'video 1' }) diff --git a/server/tests/api/videos/video-playlists.ts b/server/tests/api/videos/video-playlists.ts index 47b8c7b1e..a0c743170 100644 --- a/server/tests/api/videos/video-playlists.ts +++ b/server/tests/api/videos/video-playlists.ts @@ -70,7 +70,7 @@ describe('Test video playlists', function () { let commands: PlaylistsCommand[] before(async function () { - this.timeout(120000) + this.timeout(240000) servers = await createMultipleServers(3) diff --git a/server/tests/api/videos/video-privacy.ts b/server/tests/api/videos/video-privacy.ts index b18c71c94..92f5dab3c 100644 --- a/server/tests/api/videos/video-privacy.ts +++ b/server/tests/api/videos/video-privacy.ts @@ -45,7 +45,7 @@ describe('Test video privacy', function () { describe('Private and internal videos', function () { it('Should upload a private and internal videos on server 1', async function () { - this.timeout(10000) + this.timeout(50000) for (const privacy of [ VideoPrivacy.PRIVATE, VideoPrivacy.INTERNAL ]) { const attributes = { privacy } -- cgit v1.2.3