From 2650d6d489f775a38c5c3fdb65daabc7d55c15b5 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 2 Dec 2020 10:07:26 +0100 Subject: Fix live replay duration glitch --- server/tests/api/live/live.ts | 2 ++ 1 file changed, 2 insertions(+) (limited to 'server/tests/api/live/live.ts') diff --git a/server/tests/api/live/live.ts b/server/tests/api/live/live.ts index d0586499b..23f8d2be1 100644 --- a/server/tests/api/live/live.ts +++ b/server/tests/api/live/live.ts @@ -430,6 +430,8 @@ describe('Test live', function () { expect(video.files).to.have.lengthOf(0) const hlsPlaylist = video.streamingPlaylists.find(s => s.type === VideoStreamingPlaylistType.HLS) + await makeRawRequest(hlsPlaylist.playlistUrl, 200) + await makeRawRequest(hlsPlaylist.segmentsSha256Url, 200) expect(hlsPlaylist.files).to.have.lengthOf(resolutions.length) -- cgit v1.2.3