X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=server%2Ftests%2Fapi%2Fmultiple-pods.ts;h=6c11aace5fc4ec26188d00193232d40fa6d1514f;hb=031094f7992366d8d1f6583b205f984ffadf637a;hp=8b60ac0f420548eb9a05a60a5006a854bd99dfec;hpb=a6218a0b8f685078e6f7d21e9110b6418c5594fe;p=github%2FChocobozzz%2FPeerTube.git 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