diff options
author | Chocobozzz <me@florianbigard.com> | 2023-05-17 16:42:57 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2023-05-17 16:43:05 +0200 |
commit | e901579b00fbcd8fc0f7b45fd841636329148a34 (patch) | |
tree | 9dcfb17e3004469c96904bfc7f2136eb4fbe637f /server/tests | |
parent | f86ff3a02642263ac64db5d5fba4059db0092561 (diff) | |
download | PeerTube-e901579b00fbcd8fc0f7b45fd841636329148a34.tar.gz PeerTube-e901579b00fbcd8fc0f7b45fd841636329148a34.tar.zst PeerTube-e901579b00fbcd8fc0f7b45fd841636329148a34.zip |
Fix tests
Diffstat (limited to 'server/tests')
4 files changed, 4 insertions, 4 deletions
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 () { | |||
23 | // --------------------------------------------------------------- | 23 | // --------------------------------------------------------------- |
24 | 24 | ||
25 | before(async function () { | 25 | before(async function () { |
26 | this.timeout(30000) | 26 | this.timeout(120000) |
27 | 27 | ||
28 | server = await createSingleServer(1) | 28 | server = await createSingleServer(1) |
29 | 29 | ||
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 () { | |||
33 | let emails: object[] = [] | 33 | let emails: object[] = [] |
34 | 34 | ||
35 | before(async function () { | 35 | before(async function () { |
36 | this.timeout(50000) | 36 | this.timeout(120000) |
37 | 37 | ||
38 | const res = await prepareNotificationsTest(3) | 38 | const res = await prepareNotificationsTest(3) |
39 | emails = res.emails | 39 | 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 () { | |||
21 | let baseParams: CheckerBaseParams | 21 | let baseParams: CheckerBaseParams |
22 | 22 | ||
23 | before(async function () { | 23 | before(async function () { |
24 | this.timeout(50000) | 24 | this.timeout(120000) |
25 | 25 | ||
26 | const res = await prepareNotificationsTest(1) | 26 | const res = await prepareNotificationsTest(1) |
27 | 27 | ||
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 () { | |||
26 | let command: SearchCommand | 26 | let command: SearchCommand |
27 | 27 | ||
28 | before(async function () { | 28 | before(async function () { |
29 | this.timeout(240000) | 29 | this.timeout(360000) |
30 | 30 | ||
31 | const servers = await Promise.all([ | 31 | const servers = await Promise.all([ |
32 | createSingleServer(1), | 32 | createSingleServer(1), |