diff --git a/packages/tests/src/api/server/auto-follows.ts b/packages/tests/src/api/server/auto-follows.ts index aa272ebcc..678a142bd 100644 --- a/packages/tests/src/api/server/auto-follows.ts +++ b/packages/tests/src/api/server/auto-follows.ts @@ -57,7 +57,7 @@ describe('Test auto follows', function () { describe('Auto follow back', function () { it('Should not auto follow back if the option is not enabled', async function () { - this.timeout(15000) + this.timeout(30000) await server1Follows2(servers) diff --git a/packages/tests/src/api/server/follows.ts b/packages/tests/src/api/server/follows.ts index fbe2e87da..667a665e8 100644 --- a/packages/tests/src/api/server/follows.ts +++ b/packages/tests/src/api/server/follows.ts @@ -42,7 +42,7 @@ describe('Test follows', function () { }) it('Should have server 1 following root account of server 2 and server 3', async function () { - this.timeout(30000) + this.timeout(60000) await servers[0].follows.follow({ hosts: [ servers[2].url ], diff --git a/packages/tests/src/api/videos/video-schedule-update.ts b/packages/tests/src/api/videos/video-schedule-update.ts index ed0aa5583..40d231ab8 100644 --- a/packages/tests/src/api/videos/video-schedule-update.ts +++ b/packages/tests/src/api/videos/video-schedule-update.ts @@ -12,9 +12,9 @@ import { waitJobs } from '@peertube/peertube-server-commands' -function in10Seconds () { +function in15Seconds () { const now = new Date() - now.setSeconds(now.getSeconds() + 10) + now.setSeconds(now.getSeconds() + 15) return now } @@ -39,7 +39,7 @@ describe('Test video update scheduler', function () { name: 'video 1', privacy: VideoPrivacy.PRIVATE, scheduleUpdate: { - updateAt: in10Seconds().toISOString(), + updateAt: in15Seconds().toISOString(), privacy: VideoPrivacy.PUBLIC } } @@ -102,7 +102,7 @@ describe('Test video update scheduler', function () { const attributes = { name: 'video 2 updated', scheduleUpdate: { - updateAt: in10Seconds().toISOString(), + updateAt: in15Seconds().toISOString(), privacy: VideoPrivacy.PUBLIC } }