From 031094f7992366d8d1f6583b205f984ffadf637a Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 17 Oct 2017 15:37:40 +0200 Subject: More robust transcoding jobs --- server/tests/api/multiple-pods.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'server/tests') diff --git a/server/tests/api/multiple-pods.ts b/server/tests/api/multiple-pods.ts index 8b60ac0f4..6c11aace5 100644 --- a/server/tests/api/multiple-pods.ts +++ b/server/tests/api/multiple-pods.ts @@ -195,17 +195,17 @@ describe('Test multiple pods', function () { const file240p = video.files.find(f => f.resolution === 240) expect(file240p).not.to.be.undefined expect(file240p.resolutionLabel).to.equal('240p') - expect(file240p.size).to.be.above(130000).and.below(150000) + expect(file240p.size).to.be.above(180000).and.below(200000) const file360p = video.files.find(f => f.resolution === 360) expect(file360p).not.to.be.undefined expect(file360p.resolutionLabel).to.equal('360p') - expect(file360p.size).to.be.above(160000).and.below(180000) + expect(file360p.size).to.be.above(270000).and.below(290000) const file480p = video.files.find(f => f.resolution === 480) expect(file480p).not.to.be.undefined expect(file480p.resolutionLabel).to.equal('480p') - expect(file480p.size).to.be.above(200000).and.below(220000) + expect(file480p.size).to.be.above(380000).and.below(400000) const file720p = video.files.find(f => f.resolution === 720) expect(file720p).not.to.be.undefined -- cgit v1.2.3