diff options
author | Chocobozzz <me@florianbigard.com> | 2023-05-10 09:28:42 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2023-05-10 09:30:33 +0200 |
commit | 5170f492b95dc81b75230312411c5fdb0019eed2 (patch) | |
tree | fea18f482e1eb16ac92fd2d08022b33d58ab8747 /server/tests/api | |
parent | 9d1e41e8bbd9afd961f2dd48c791a3be114e878d (diff) | |
download | PeerTube-5170f492b95dc81b75230312411c5fdb0019eed2.tar.gz PeerTube-5170f492b95dc81b75230312411c5fdb0019eed2.tar.zst PeerTube-5170f492b95dc81b75230312411c5fdb0019eed2.zip |
Try to have more robust live tests
Diffstat (limited to 'server/tests/api')
-rw-r--r-- | server/tests/api/transcoding/create-transcoding.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/tests/api/transcoding/create-transcoding.ts b/server/tests/api/transcoding/create-transcoding.ts index 85389a949..5483c8dba 100644 --- a/server/tests/api/transcoding/create-transcoding.ts +++ b/server/tests/api/transcoding/create-transcoding.ts | |||
@@ -226,7 +226,7 @@ function runTests (objectStorage: boolean) { | |||
226 | const resolutions = hlsPlaylist.files.map(f => f.resolution.id) | 226 | const resolutions = hlsPlaylist.files.map(f => f.resolution.id) |
227 | await checkResolutionsInMasterPlaylist({ server: servers[0], playlistUrl: hlsPlaylist.playlistUrl, resolutions }) | 227 | await checkResolutionsInMasterPlaylist({ server: servers[0], playlistUrl: hlsPlaylist.playlistUrl, resolutions }) |
228 | 228 | ||
229 | const shaBody = await servers[0].streamingPlaylists.getSegmentSha256({ url: hlsPlaylist.segmentsSha256Url }) | 229 | const shaBody = await servers[0].streamingPlaylists.getSegmentSha256({ url: hlsPlaylist.segmentsSha256Url, withRetry: true }) |
230 | expect(Object.keys(shaBody)).to.have.lengthOf(5) | 230 | expect(Object.keys(shaBody)).to.have.lengthOf(5) |
231 | } | 231 | } |
232 | } | 232 | } |