diff options
author | Chocobozzz <me@florianbigard.com> | 2022-05-18 15:16:34 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-05-18 15:16:34 +0200 |
commit | cf0dd18abce9ab98d7bf5d209cc5401f97d4d463 (patch) | |
tree | 7eba0d37ca71bfd3202044292ec75fd88415fb21 /server/tests | |
parent | dda1e82133aae0e587ca2ec03f5d48b1736eb1db (diff) | |
download | PeerTube-cf0dd18abce9ab98d7bf5d209cc5401f97d4d463.tar.gz PeerTube-cf0dd18abce9ab98d7bf5d209cc5401f97d4d463.tar.zst PeerTube-cf0dd18abce9ab98d7bf5d209cc5401f97d4d463.zip |
Increase timeouts
Diffstat (limited to 'server/tests')
-rw-r--r-- | server/tests/api/object-storage/videos.ts | 2 | ||||
-rw-r--r-- | server/tests/api/views/video-views-counter.ts | 2 |
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 |