aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/shared/live.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2023-05-10 09:28:42 +0200
committerChocobozzz <me@florianbigard.com>2023-05-10 09:30:33 +0200
commit5170f492b95dc81b75230312411c5fdb0019eed2 (patch)
treefea18f482e1eb16ac92fd2d08022b33d58ab8747 /server/tests/shared/live.ts
parent9d1e41e8bbd9afd961f2dd48c791a3be114e878d (diff)
downloadPeerTube-5170f492b95dc81b75230312411c5fdb0019eed2.tar.gz
PeerTube-5170f492b95dc81b75230312411c5fdb0019eed2.tar.zst
PeerTube-5170f492b95dc81b75230312411c5fdb0019eed2.zip
Try to have more robust live tests
Diffstat (limited to 'server/tests/shared/live.ts')
-rw-r--r--server/tests/shared/live.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/server/tests/shared/live.ts b/server/tests/shared/live.ts
index 31f92ef19..793503311 100644
--- a/server/tests/shared/live.ts
+++ b/server/tests/shared/live.ts
@@ -115,7 +115,8 @@ async function testLiveVideoResolutions (options: {
115 baseUrlSegment: baseUrl, 115 baseUrlSegment: baseUrl,
116 videoUUID: video.uuid, 116 videoUUID: video.uuid,
117 segmentName, 117 segmentName,
118 hlsPlaylist 118 hlsPlaylist,
119 withRetry: objectStorage // With object storage, the request may fail because of inconsistent data in S3
119 }) 120 })
120 121
121 if (originServer.internalServerNumber === server.internalServerNumber) { 122 if (originServer.internalServerNumber === server.internalServerNumber) {