Skip to content

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

Fix live tests

Chocobozzz8bd688d14ba1
diff --git a/packages/tests/src/api/check-params/upload-quota.ts b/packages/tests/src/api/check-params/upload-quota.ts
index 2b2e054af4..6cf9907666 100644
--- a/packages/tests/src/api/check-params/upload-quota.ts
+++ b/packages/tests/src/api/check-params/upload-quota.ts
@@ -74,8 +74,6 @@ describe('Test upload quota', function () {
})
it('Should fail to import with HTTP/Torrent/magnet', async function () {
- this.retries(3)
-
this.timeout(120_000)
for (const token of [ server.accessToken, editorToken ]) {
diff --git a/packages/tests/src/shared/live.ts b/packages/tests/src/shared/live.ts
index 27aafc58ec..ad736ea3e8 100644
--- a/packages/tests/src/shared/live.ts
+++ b/packages/tests/src/shared/live.ts
@@ -81,7 +81,7 @@ async function testLiveVideoResolutions (options: {
} = options
// Live is always audio/video splitted
- const splittedAudio = hasAudio && hasVideo
+ const splittedAudio = transcoded && hasAudio && hasVideo
const resolutions = splittedAudio && options.resolutions.length !== 0 && !options.resolutions.includes(VideoResolution.H_NOVIDEO)
? [ VideoResolution.H_NOVIDEO, ...options.resolutions ]