Skip to content

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

Fix tests

Chocobozzz70c6a848a438
diff --git a/server/tests/api/live/live.ts b/server/tests/api/live/live.ts
index 2ca147ebe1..d320362639 100644
--- a/server/tests/api/live/live.ts
+++ b/server/tests/api/live/live.ts
@@ -622,7 +622,7 @@ describe('Test live', function () {
})
it('Should only keep the original resolution if all resolutions are disabled', async function () {
- this.timeout(400_000)
+ this.timeout(600_000)
await updateConf([])
liveVideoId = await createLiveWrapper(true)
@@ -673,7 +673,7 @@ describe('Test live', function () {
}
before(async function () {
- this.timeout(300000)
+ this.timeout(600_000)
liveVideoId = await createLiveWrapper({ saveReplay: false, permanent: false })
liveVideoReplayId = await createLiveWrapper({ saveReplay: true, permanent: false })
diff --git a/server/tests/api/server/open-telemetry.ts b/server/tests/api/server/open-telemetry.ts
index 3137a9eb60..d8b1194c6c 100644
--- a/server/tests/api/server/open-telemetry.ts
+++ b/server/tests/api/server/open-telemetry.ts
@@ -59,7 +59,7 @@ describe('Open Telemetry', function () {
})
const res = await makeRawRequest(metricsUrl, HttpStatusCode.OK_200)
- expect(res.text).to.contain('peertube_playback_http_uploaded_bytes_total{')
+ expect(res.text).to.contain('peertube_playback_http_downloaded_bytes_total{')
})
after(async function () {