aboutsummaryrefslogtreecommitdiffhomepage
path: root/server
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2022-05-18 15:16:34 +0200
committerChocobozzz <me@florianbigard.com>2022-05-18 15:16:34 +0200
commitcf0dd18abce9ab98d7bf5d209cc5401f97d4d463 (patch)
tree7eba0d37ca71bfd3202044292ec75fd88415fb21 /server
parentdda1e82133aae0e587ca2ec03f5d48b1736eb1db (diff)
downloadPeerTube-cf0dd18abce9ab98d7bf5d209cc5401f97d4d463.tar.gz
PeerTube-cf0dd18abce9ab98d7bf5d209cc5401f97d4d463.tar.zst
PeerTube-cf0dd18abce9ab98d7bf5d209cc5401f97d4d463.zip
Increase timeouts
Diffstat (limited to 'server')
-rw-r--r--server/tests/api/object-storage/videos.ts2
-rw-r--r--server/tests/api/views/video-views-counter.ts2
2 files changed, 3 insertions, 1 deletions
diff --git a/server/tests/api/object-storage/videos.ts b/server/tests/api/object-storage/videos.ts
index 22ad06305..e288e542e 100644
--- a/server/tests/api/object-storage/videos.ts
+++ b/server/tests/api/object-storage/videos.ts
@@ -406,6 +406,8 @@ describe('Object storage for videos', function () {
406 const maxUploadPart = '5MB' 406 const maxUploadPart = '5MB'
407 407
408 before(async function () { 408 before(async function () {
409 this.timeout(120000)
410
409 fixture = await generateHighBitrateVideo() 411 fixture = await generateHighBitrateVideo()
410 412
411 const { size } = await stat(fixture) 413 const { size } = await stat(fixture)
diff --git a/server/tests/api/views/video-views-counter.ts b/server/tests/api/views/video-views-counter.ts
index b8969d52d..42ef41fb3 100644
--- a/server/tests/api/views/video-views-counter.ts
+++ b/server/tests/api/views/video-views-counter.ts
@@ -34,7 +34,7 @@ describe('Test video views/viewers counters', function () {
34 let videoUUID: string 34 let videoUUID: string
35 35
36 before(async function () { 36 before(async function () {
37 this.timeout(30000) 37 this.timeout(120000)
38 38
39 const { uuid } = await servers[0].videos.quickUpload({ name: 'video' }) 39 const { uuid } = await servers[0].videos.quickUpload({ name: 'video' })
40 videoUUID = uuid 40 videoUUID = uuid