aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-12-09 15:00:02 +0100
committerChocobozzz <me@florianbigard.com>2020-12-09 15:33:16 +0100
commit5cac83a78d6ba5212755fafce2ed25f7c74b04e5 (patch)
treec0aa6473f7837fdb15f1dc2c814e7efa02d78c19 /server/tests/api
parent0d8de2756fdc43be61a82a96c17d12ee52ba0143 (diff)
downloadPeerTube-5cac83a78d6ba5212755fafce2ed25f7c74b04e5.tar.gz
PeerTube-5cac83a78d6ba5212755fafce2ed25f7c74b04e5.tar.zst
PeerTube-5cac83a78d6ba5212755fafce2ed25f7c74b04e5.zip
Refactor views component
Diffstat (limited to 'server/tests/api')
-rw-r--r--server/tests/api/live/live.ts5
1 files changed, 2 insertions, 3 deletions
diff --git a/server/tests/api/live/live.ts b/server/tests/api/live/live.ts
index 7ea0ec198..e728fcce0 100644
--- a/server/tests/api/live/live.ts
+++ b/server/tests/api/live/live.ts
@@ -42,8 +42,7 @@ import {
42 waitJobs, 42 waitJobs,
43 waitUntilLiveEnded, 43 waitUntilLiveEnded,
44 waitUntilLivePublished, 44 waitUntilLivePublished,
45 waitUntilLiveSegmentGeneration, 45 waitUntilLiveSegmentGeneration
46 waitUntilLog
47} from '../../../../shared/extra-utils' 46} from '../../../../shared/extra-utils'
48 47
49const expect = chai.expect 48const expect = chai.expect
@@ -329,7 +328,7 @@ describe('Test live', function () {
329 await checkResolutionsInMasterPlaylist(hlsPlaylist.playlistUrl, resolutions) 328 await checkResolutionsInMasterPlaylist(hlsPlaylist.playlistUrl, resolutions)
330 329
331 for (let i = 0; i < resolutions.length; i++) { 330 for (let i = 0; i < resolutions.length; i++) {
332 const segmentNum = 1 331 const segmentNum = 2
333 const segmentName = `${i}-00000${segmentNum}.ts` 332 const segmentName = `${i}-00000${segmentNum}.ts`
334 await waitUntilLiveSegmentGeneration(servers[0], video.uuid, i, segmentNum) 333 await waitUntilLiveSegmentGeneration(servers[0], video.uuid, i, segmentNum)
335 334