diff options
Diffstat (limited to 'server/tests')
-rw-r--r-- | server/tests/api/live/live.ts | 5 |
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 | ||
49 | const expect = chai.expect | 48 | const 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 | ||