diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-10-17 15:37:40 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-10-17 15:37:40 +0200 |
commit | 031094f7992366d8d1f6583b205f984ffadf637a (patch) | |
tree | 34ee5dc91b3e540f6f0499beadbd74575d9ad434 /server/tests | |
parent | a6218a0b8f685078e6f7d21e9110b6418c5594fe (diff) | |
download | PeerTube-031094f7992366d8d1f6583b205f984ffadf637a.tar.gz PeerTube-031094f7992366d8d1f6583b205f984ffadf637a.tar.zst PeerTube-031094f7992366d8d1f6583b205f984ffadf637a.zip |
More robust transcoding jobs
Diffstat (limited to 'server/tests')
-rw-r--r-- | server/tests/api/multiple-pods.ts | 6 |
1 files changed, 3 insertions, 3 deletions
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 () { | |||
195 | const file240p = video.files.find(f => f.resolution === 240) | 195 | const file240p = video.files.find(f => f.resolution === 240) |
196 | expect(file240p).not.to.be.undefined | 196 | expect(file240p).not.to.be.undefined |
197 | expect(file240p.resolutionLabel).to.equal('240p') | 197 | expect(file240p.resolutionLabel).to.equal('240p') |
198 | expect(file240p.size).to.be.above(130000).and.below(150000) | 198 | expect(file240p.size).to.be.above(180000).and.below(200000) |
199 | 199 | ||
200 | const file360p = video.files.find(f => f.resolution === 360) | 200 | const file360p = video.files.find(f => f.resolution === 360) |
201 | expect(file360p).not.to.be.undefined | 201 | expect(file360p).not.to.be.undefined |
202 | expect(file360p.resolutionLabel).to.equal('360p') | 202 | expect(file360p.resolutionLabel).to.equal('360p') |
203 | expect(file360p.size).to.be.above(160000).and.below(180000) | 203 | expect(file360p.size).to.be.above(270000).and.below(290000) |
204 | 204 | ||
205 | const file480p = video.files.find(f => f.resolution === 480) | 205 | const file480p = video.files.find(f => f.resolution === 480) |
206 | expect(file480p).not.to.be.undefined | 206 | expect(file480p).not.to.be.undefined |
207 | expect(file480p.resolutionLabel).to.equal('480p') | 207 | expect(file480p.resolutionLabel).to.equal('480p') |
208 | expect(file480p.size).to.be.above(200000).and.below(220000) | 208 | expect(file480p.size).to.be.above(380000).and.below(400000) |
209 | 209 | ||
210 | const file720p = video.files.find(f => f.resolution === 720) | 210 | const file720p = video.files.find(f => f.resolution === 720) |
211 | expect(file720p).not.to.be.undefined | 211 | expect(file720p).not.to.be.undefined |