1
0
Fork 0

Fix live tests

This commit is contained in:
Chocobozzz 2020-11-17 16:14:11 +01:00
parent de29e90c37
commit 3e8584b99a
No known key found for this signature in database
GPG key ID: 583A612D890159BE
2 changed files with 2 additions and 2 deletions

View file

@ -324,7 +324,7 @@ describe('Test live', function () {
for (let i = 0; i < resolutions.length; i++) {
const segmentName = `${i}-000001.ts`
await waitUntilLog(servers[0], `${video.uuid}/${segmentName}`, 1, false)
await waitUntilLog(servers[0], `${video.uuid}/${segmentName}`, 2, false)
const res = await getPlaylist(`${servers[0].url}/static/streaming-playlists/hls/${video.uuid}/${i}.m3u8`)
const subPlaylist = res.text

View file

@ -108,7 +108,7 @@ async function flushAndRunServer (serverNumber: number, configOverride?: Object,
const parallel = parallelTests()
const internalServerNumber = parallel ? randomServer() : serverNumber
const rtmpPort = parallel ? randomRTMP() : null
const rtmpPort = parallel ? randomRTMP() : 1936
const port = 9000 + internalServerNumber
await flushTests(internalServerNumber)