diff options
author | Chocobozzz <me@florianbigard.com> | 2020-12-02 10:07:26 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2020-12-02 10:18:15 +0100 |
commit | 2650d6d489f775a38c5c3fdb65daabc7d55c15b5 (patch) | |
tree | 3065083bd5e8889601423521710caf3c0e989811 /server/tests/api/live/live.ts | |
parent | 543e18726214aa789acecba5615fff1bec83d4cc (diff) | |
download | PeerTube-2650d6d489f775a38c5c3fdb65daabc7d55c15b5.tar.gz PeerTube-2650d6d489f775a38c5c3fdb65daabc7d55c15b5.tar.zst PeerTube-2650d6d489f775a38c5c3fdb65daabc7d55c15b5.zip |
Fix live replay duration glitch
Diffstat (limited to 'server/tests/api/live/live.ts')
-rw-r--r-- | server/tests/api/live/live.ts | 2 |
1 files changed, 2 insertions, 0 deletions
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 () { | |||
430 | expect(video.files).to.have.lengthOf(0) | 430 | expect(video.files).to.have.lengthOf(0) |
431 | 431 | ||
432 | const hlsPlaylist = video.streamingPlaylists.find(s => s.type === VideoStreamingPlaylistType.HLS) | 432 | const hlsPlaylist = video.streamingPlaylists.find(s => s.type === VideoStreamingPlaylistType.HLS) |
433 | await makeRawRequest(hlsPlaylist.playlistUrl, 200) | ||
434 | await makeRawRequest(hlsPlaylist.segmentsSha256Url, 200) | ||
433 | 435 | ||
434 | expect(hlsPlaylist.files).to.have.lengthOf(resolutions.length) | 436 | expect(hlsPlaylist.files).to.have.lengthOf(resolutions.length) |
435 | 437 | ||