diff options
author | Chocobozzz <me@florianbigard.com> | 2023-05-05 14:35:59 +0200 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2023-05-09 08:57:34 +0200 |
commit | 21609258dee096e1ecc3af7a2b9e841742ef7f7d (patch) | |
tree | 5d4103b7c8ca3baa54f6feecdc7e150e9295e056 /server/tests/api | |
parent | a687879e94fa5d3ecdd76bec3d94d0e1698ee913 (diff) | |
download | PeerTube-21609258dee096e1ecc3af7a2b9e841742ef7f7d.tar.gz PeerTube-21609258dee096e1ecc3af7a2b9e841742ef7f7d.tar.zst PeerTube-21609258dee096e1ecc3af7a2b9e841742ef7f7d.zip |
Increase timeouts
Diffstat (limited to 'server/tests/api')
-rw-r--r-- | server/tests/api/live/live-constraints.ts | 2 | ||||
-rw-r--r-- | server/tests/api/live/live.ts | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/server/tests/api/live/live-constraints.ts b/server/tests/api/live/live-constraints.ts index fabb8798d..59e27cc62 100644 --- a/server/tests/api/live/live-constraints.ts +++ b/server/tests/api/live/live-constraints.ts | |||
@@ -190,7 +190,7 @@ describe('Test live constraints', function () { | |||
190 | }) | 190 | }) |
191 | 191 | ||
192 | it('Should have max duration limit', async function () { | 192 | it('Should have max duration limit', async function () { |
193 | this.timeout(60000) | 193 | this.timeout(240000) |
194 | 194 | ||
195 | await servers[0].config.updateCustomSubConfig({ | 195 | await servers[0].config.updateCustomSubConfig({ |
196 | newConfig: { | 196 | newConfig: { |
diff --git a/server/tests/api/live/live.ts b/server/tests/api/live/live.ts index f9b0d257b..592548b52 100644 --- a/server/tests/api/live/live.ts +++ b/server/tests/api/live/live.ts | |||
@@ -447,7 +447,7 @@ describe('Test live', function () { | |||
447 | }) | 447 | }) |
448 | 448 | ||
449 | it('Should enable transcoding with some resolutions', async function () { | 449 | it('Should enable transcoding with some resolutions', async function () { |
450 | this.timeout(120000) | 450 | this.timeout(240000) |
451 | 451 | ||
452 | const resolutions = [ 240, 480 ] | 452 | const resolutions = [ 240, 480 ] |
453 | await updateConf(resolutions) | 453 | await updateConf(resolutions) |
@@ -499,7 +499,7 @@ describe('Test live', function () { | |||
499 | }) | 499 | }) |
500 | 500 | ||
501 | it('Should enable transcoding with some resolutions and correctly save them', async function () { | 501 | it('Should enable transcoding with some resolutions and correctly save them', async function () { |
502 | this.timeout(400_000) | 502 | this.timeout(500_000) |
503 | 503 | ||
504 | const resolutions = [ 240, 360, 720 ] | 504 | const resolutions = [ 240, 360, 720 ] |
505 | 505 | ||
@@ -586,7 +586,7 @@ describe('Test live', function () { | |||
586 | }) | 586 | }) |
587 | 587 | ||
588 | it('Should not generate an upper resolution than original file', async function () { | 588 | it('Should not generate an upper resolution than original file', async function () { |
589 | this.timeout(400_000) | 589 | this.timeout(500_000) |
590 | 590 | ||
591 | const resolutions = [ 240, 480 ] | 591 | const resolutions = [ 240, 480 ] |
592 | await updateConf(resolutions) | 592 | await updateConf(resolutions) |