Fix tests

pull/5215/head
Chocobozzz 2022-08-16 14:03:09 +02:00
parent 3b2006bb72
commit 70c6a848a4
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
2 changed files with 3 additions and 3 deletions

View File

@ -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 })

View File

@ -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 () {