aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2022-08-16 14:03:09 +0200
committerChocobozzz <me@florianbigard.com>2022-08-16 14:03:09 +0200
commit70c6a848a43868d826453da11d212fa96956fb0c (patch)
treef7c16aa6f26b5c513f268f986276856dc05b96ce /server/tests
parent3b2006bb725aa0b457cdd99aab488b5cc0c4814a (diff)
downloadPeerTube-70c6a848a43868d826453da11d212fa96956fb0c.tar.gz
PeerTube-70c6a848a43868d826453da11d212fa96956fb0c.tar.zst
PeerTube-70c6a848a43868d826453da11d212fa96956fb0c.zip
Fix tests
Diffstat (limited to 'server/tests')
-rw-r--r--server/tests/api/live/live.ts4
-rw-r--r--server/tests/api/server/open-telemetry.ts2
2 files changed, 3 insertions, 3 deletions
diff --git a/server/tests/api/live/live.ts b/server/tests/api/live/live.ts
index 2ca147ebe..d32036263 100644
--- a/server/tests/api/live/live.ts
+++ b/server/tests/api/live/live.ts
@@ -622,7 +622,7 @@ describe('Test live', function () {
622 }) 622 })
623 623
624 it('Should only keep the original resolution if all resolutions are disabled', async function () { 624 it('Should only keep the original resolution if all resolutions are disabled', async function () {
625 this.timeout(400_000) 625 this.timeout(600_000)
626 626
627 await updateConf([]) 627 await updateConf([])
628 liveVideoId = await createLiveWrapper(true) 628 liveVideoId = await createLiveWrapper(true)
@@ -673,7 +673,7 @@ describe('Test live', function () {
673 } 673 }
674 674
675 before(async function () { 675 before(async function () {
676 this.timeout(300000) 676 this.timeout(600_000)
677 677
678 liveVideoId = await createLiveWrapper({ saveReplay: false, permanent: false }) 678 liveVideoId = await createLiveWrapper({ saveReplay: false, permanent: false })
679 liveVideoReplayId = await createLiveWrapper({ saveReplay: true, permanent: false }) 679 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 3137a9eb6..d8b1194c6 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 () {
59 }) 59 })
60 60
61 const res = await makeRawRequest(metricsUrl, HttpStatusCode.OK_200) 61 const res = await makeRawRequest(metricsUrl, HttpStatusCode.OK_200)
62 expect(res.text).to.contain('peertube_playback_http_uploaded_bytes_total{') 62 expect(res.text).to.contain('peertube_playback_http_downloaded_bytes_total{')
63 }) 63 })
64 64
65 after(async function () { 65 after(async function () {