From: Chocobozzz Date: Wed, 28 Sep 2022 09:21:25 +0000 (+0200) Subject: Relax bitrate/fps test X-Git-Tag: v5.0.0-rc.1~306 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=43972ee466740e91b16c08fe106551657969e669;p=github%2FChocobozzz%2FPeerTube.git Relax bitrate/fps test --- diff --git a/server/tests/api/live/live.ts b/server/tests/api/live/live.ts index c436f0f01..4e070832d 100644 --- a/server/tests/api/live/live.ts +++ b/server/tests/api/live/live.ts @@ -538,7 +538,7 @@ describe('Test live', function () { } const minBitrateLimits = { - 720: 5500 * 1000, + 720: 5000 * 1000, 360: 1000 * 1000, 240: 550 * 1000 } @@ -569,7 +569,7 @@ describe('Test live', function () { if (resolution >= 720) { expect(file.fps).to.be.approximately(60, 10) } else { - expect(file.fps).to.be.approximately(30, 2) + expect(file.fps).to.be.approximately(30, 3) } const filename = basename(file.fileUrl)