From 47e363bbe961c03c2a7d13b8da3de4b90047b002 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 20 Nov 2020 15:39:24 +0100 Subject: Relax live fps test --- server/tests/api/live/live.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server/tests/api/live/live.ts') 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 () { const file = hlsPlaylist.files.find(f => f.resolution.id === resolution) expect(file).to.exist - expect(file.fps).to.equal(25) + expect(file.fps).to.be.oneOf([ 24, 25 ]) expect(file.size).to.be.greaterThan(1) await makeRawRequest(file.torrentUrl, 200) -- cgit v1.2.3