aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/live/live.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-11-17 16:14:11 +0100
committerChocobozzz <me@florianbigard.com>2020-11-17 16:14:11 +0100
commit3e8584b99ae03ab4d87db0fe70c49c3744e8d762 (patch)
treee2807d18fe2325ddae2ed02a32ee45e6eb07f3f7 /server/tests/api/live/live.ts
parentde29e90c373c12a32bbce7b75d2017affc3ee16e (diff)
downloadPeerTube-3e8584b99ae03ab4d87db0fe70c49c3744e8d762.tar.gz
PeerTube-3e8584b99ae03ab4d87db0fe70c49c3744e8d762.tar.zst
PeerTube-3e8584b99ae03ab4d87db0fe70c49c3744e8d762.zip
Fix live tests
Diffstat (limited to 'server/tests/api/live/live.ts')
-rw-r--r--server/tests/api/live/live.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/tests/api/live/live.ts b/server/tests/api/live/live.ts
index 94c966c9f..98a5287aa 100644
--- a/server/tests/api/live/live.ts
+++ b/server/tests/api/live/live.ts
@@ -324,7 +324,7 @@ describe('Test live', function () {
324 324
325 for (let i = 0; i < resolutions.length; i++) { 325 for (let i = 0; i < resolutions.length; i++) {
326 const segmentName = `${i}-000001.ts` 326 const segmentName = `${i}-000001.ts`
327 await waitUntilLog(servers[0], `${video.uuid}/${segmentName}`, 1, false) 327 await waitUntilLog(servers[0], `${video.uuid}/${segmentName}`, 2, false)
328 328
329 const res = await getPlaylist(`${servers[0].url}/static/streaming-playlists/hls/${video.uuid}/${i}.m3u8`) 329 const res = await getPlaylist(`${servers[0].url}/static/streaming-playlists/hls/${video.uuid}/${i}.m3u8`)
330 const subPlaylist = res.text 330 const subPlaylist = res.text