Fix live tests
This commit is contained in:
parent
de29e90c37
commit
3e8584b99a
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue