aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/live
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-11-20 15:39:24 +0100
committerChocobozzz <me@florianbigard.com>2020-11-20 15:39:24 +0100
commit47e363bbe961c03c2a7d13b8da3de4b90047b002 (patch)
tree73d04a3a9718802bc69aad2669e1addf77477894 /server/tests/api/live
parentdb7510d6320f9f09a5efefe0a0b2cdcd0d6c5eec (diff)
downloadPeerTube-47e363bbe961c03c2a7d13b8da3de4b90047b002.tar.gz
PeerTube-47e363bbe961c03c2a7d13b8da3de4b90047b002.tar.zst
PeerTube-47e363bbe961c03c2a7d13b8da3de4b90047b002.zip
Relax live fps test
Diffstat (limited to 'server/tests/api/live')
-rw-r--r--server/tests/api/live/live.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/tests/api/live/live.ts b/server/tests/api/live/live.ts
index 98a5287aa..ac91b6b08 100644
--- a/server/tests/api/live/live.ts
+++ b/server/tests/api/live/live.ts
@@ -424,7 +424,7 @@ describe('Test live', function () {
424 const file = hlsPlaylist.files.find(f => f.resolution.id === resolution) 424 const file = hlsPlaylist.files.find(f => f.resolution.id === resolution)
425 425
426 expect(file).to.exist 426 expect(file).to.exist
427 expect(file.fps).to.equal(25) 427 expect(file.fps).to.be.oneOf([ 24, 25 ])
428 expect(file.size).to.be.greaterThan(1) 428 expect(file.size).to.be.greaterThan(1)
429 429
430 await makeRawRequest(file.torrentUrl, 200) 430 await makeRawRequest(file.torrentUrl, 200)