aboutsummaryrefslogtreecommitdiffhomepage
path: root/packages/tests/src
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2023-08-21 15:04:33 +0200
committerChocobozzz <me@florianbigard.com>2023-08-21 15:04:33 +0200
commitab5f1356b9fbc575cb0b126ca21bb809a6475089 (patch)
tree1b4c721fd87656a6904cca9ef0064e978d738e71 /packages/tests/src
parent0d87602a205835c174c4c6b864443fcf5081bfd0 (diff)
downloadPeerTube-ab5f1356b9fbc575cb0b126ca21bb809a6475089.tar.gz
PeerTube-ab5f1356b9fbc575cb0b126ca21bb809a6475089.tar.zst
PeerTube-ab5f1356b9fbc575cb0b126ca21bb809a6475089.zip
Try to fix github ci
Diffstat (limited to 'packages/tests/src')
-rw-r--r--packages/tests/src/api/live/live-constraints.ts13
-rw-r--r--packages/tests/src/api/videos/video-passwords.ts2
2 files changed, 12 insertions, 3 deletions
diff --git a/packages/tests/src/api/live/live-constraints.ts b/packages/tests/src/api/live/live-constraints.ts
index f62994cbd..725e35d23 100644
--- a/packages/tests/src/api/live/live-constraints.ts
+++ b/packages/tests/src/api/live/live-constraints.ts
@@ -213,7 +213,16 @@ describe('Test live constraints', function () {
213 maxDuration: 15, 213 maxDuration: 15,
214 transcoding: { 214 transcoding: {
215 enabled: true, 215 enabled: true,
216 resolutions: ConfigCommand.getCustomConfigResolutions(true) 216 resolutions: {
217 '144p': true,
218 '240p': true,
219 '360p': false,
220 '480p': false,
221 '720p': true,
222 '1080p': false,
223 '1440p': false,
224 '2160p': false
225 }
217 } 226 }
218 } 227 }
219 } 228 }
@@ -225,7 +234,7 @@ describe('Test live constraints', function () {
225 await waitUntilLiveReplacedByReplayOnAllServers(servers, userVideoLiveoId) 234 await waitUntilLiveReplacedByReplayOnAllServers(servers, userVideoLiveoId)
226 await waitJobs(servers) 235 await waitJobs(servers)
227 236
228 await checkSaveReplay(userVideoLiveoId, [ 720, 480, 360, 240, 144 ]) 237 await checkSaveReplay(userVideoLiveoId, [ 720, 240, 144 ])
229 238
230 const session = await servers[0].live.getReplaySession({ videoId: userVideoLiveoId }) 239 const session = await servers[0].live.getReplaySession({ videoId: userVideoLiveoId })
231 expect(session.error).to.equal(LiveVideoError.DURATION_EXCEEDED) 240 expect(session.error).to.equal(LiveVideoError.DURATION_EXCEEDED)
diff --git a/packages/tests/src/api/videos/video-passwords.ts b/packages/tests/src/api/videos/video-passwords.ts
index 60e0e28bd..d943afec0 100644
--- a/packages/tests/src/api/videos/video-passwords.ts
+++ b/packages/tests/src/api/videos/video-passwords.ts
@@ -22,7 +22,7 @@ describe('Test video passwords', function () {
22 let command: VideoPasswordsCommand 22 let command: VideoPasswordsCommand
23 23
24 before(async function () { 24 before(async function () {
25 this.timeout(30000) 25 this.timeout(120000)
26 26
27 server = await createSingleServer(1) 27 server = await createSingleServer(1)
28 28