Fix tests
This commit is contained in:
parent
3b2006bb72
commit
70c6a848a4
|
@ -622,7 +622,7 @@ describe('Test live', function () {
|
||||||
})
|
})
|
||||||
|
|
||||||
it('Should only keep the original resolution if all resolutions are disabled', async 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([])
|
await updateConf([])
|
||||||
liveVideoId = await createLiveWrapper(true)
|
liveVideoId = await createLiveWrapper(true)
|
||||||
|
@ -673,7 +673,7 @@ describe('Test live', function () {
|
||||||
}
|
}
|
||||||
|
|
||||||
before(async function () {
|
before(async function () {
|
||||||
this.timeout(300000)
|
this.timeout(600_000)
|
||||||
|
|
||||||
liveVideoId = await createLiveWrapper({ saveReplay: false, permanent: false })
|
liveVideoId = await createLiveWrapper({ saveReplay: false, permanent: false })
|
||||||
liveVideoReplayId = await createLiveWrapper({ saveReplay: true, permanent: false })
|
liveVideoReplayId = await createLiveWrapper({ saveReplay: true, permanent: false })
|
||||||
|
|
|
@ -59,7 +59,7 @@ describe('Open Telemetry', function () {
|
||||||
})
|
})
|
||||||
|
|
||||||
const res = await makeRawRequest(metricsUrl, HttpStatusCode.OK_200)
|
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 () {
|
after(async function () {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user