Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Try to fix github ci

Chocobozzzab5f1356b9fb
diff --git a/packages/tests/src/api/live/live-constraints.ts b/packages/tests/src/api/live/live-constraints.ts
index f62994cbda..725e35d23f 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 () {
maxDuration: 15,
transcoding: {
enabled: true,
- resolutions: ConfigCommand.getCustomConfigResolutions(true)
+ resolutions: {
+ '144p': true,
+ '240p': true,
+ '360p': false,
+ '480p': false,
+ '720p': true,
+ '1080p': false,
+ '1440p': false,
+ '2160p': false
+ }
}
}
}
@@ -225,7 +234,7 @@ describe('Test live constraints', function () {
await waitUntilLiveReplacedByReplayOnAllServers(servers, userVideoLiveoId)
await waitJobs(servers)
- await checkSaveReplay(userVideoLiveoId, [ 720, 480, 360, 240, 144 ])
+ await checkSaveReplay(userVideoLiveoId, [ 720, 240, 144 ])
const session = await servers[0].live.getReplaySession({ videoId: userVideoLiveoId })
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 60e0e28bdc..d943afec01 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 () {
let command: VideoPasswordsCommand
before(async function () {
- this.timeout(30000)
+ this.timeout(120000)
server = await createSingleServer(1)