]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/tests/api/views/video-views-overall-stats.ts
Increase test timeout
[github/Chocobozzz/PeerTube.git] / server / tests / api / views / video-views-overall-stats.ts
index 22761d6ec656a8b24628845d7f61409772b9b53e..a70d6185edc363f2e71007e665049eeca2dd241e 100644 (file)
@@ -21,7 +21,7 @@ describe('Test views overall stats', function () {
     let vodVideoId: string
 
     before(async function () {
-      this.timeout(60000);
+      this.timeout(120000);
 
       ({ vodVideoId } = await prepareViewsVideos({ servers, live: false, vod: true }))
     })
@@ -74,7 +74,7 @@ describe('Test views overall stats', function () {
     let command: FfmpegCommand
 
     before(async function () {
-      this.timeout(60000);
+      this.timeout(120000);
 
       ({ vodVideoId, liveVideoId, ffmpegCommand: command } = await prepareViewsVideos({ servers, live: true, vod: true }))
     })
@@ -189,7 +189,7 @@ describe('Test views overall stats', function () {
     let videoUUID: string
 
     before(async function () {
-      this.timeout(60000);
+      this.timeout(120000);
 
       ({ vodVideoId: videoUUID } = await prepareViewsVideos({ servers, live: true, vod: true }))
     })
@@ -238,7 +238,7 @@ describe('Test views overall stats', function () {
   describe('Test countries', function () {
 
     it('Should not report countries if geoip is disabled', async function () {
-      this.timeout(60000)
+      this.timeout(120000)
 
       const { uuid } = await servers[0].videos.quickUpload({ name: 'video' })
       await waitJobs(servers)
@@ -252,7 +252,7 @@ describe('Test views overall stats', function () {
     })
 
     it('Should report countries if geoip is enabled', async function () {
-      this.timeout(60000)
+      this.timeout(240000)
 
       const { uuid } = await servers[0].videos.quickUpload({ name: 'video' })
       await waitJobs(servers)