]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
Fix transcoder test
authorChocobozzz <me@florianbigard.com>
Fri, 20 Nov 2020 14:13:08 +0000 (15:13 +0100)
committerChocobozzz <me@florianbigard.com>
Fri, 20 Nov 2020 14:14:23 +0000 (15:14 +0100)
server/tests/api/videos/video-transcoder.ts

index a3d7b870766090893a1c5d88415368f18780c2fe..ae21c37167b989ecb11655a87413d1a1c4d12a5f 100644 (file)
@@ -501,7 +501,7 @@ describe('Test video transcoding', function () {
 
     const resolutions = [ 240, 360, 480, 720, 1080 ]
     for (const r of resolutions) {
-      expect(await getServerFileSize(servers[1], `videos/${videoUUID}-${r}.mp4`)).to.be.below(43)
+      expect(await getServerFileSize(servers[1], `videos/${videoUUID}-${r}.mp4`)).to.be.below(60000)
     }
   })