aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-11-20 15:13:08 +0100
committerChocobozzz <me@florianbigard.com>2020-11-20 15:14:23 +0100
commit8f3ad70874f8769f5340632754dc2ca7f4c82733 (patch)
tree0c9e72d734a1c776af9b97bf204b01dbf03e355e /server/tests/api
parentd218e7de9400938ae6ac593d9ae5842e23abd4f0 (diff)
downloadPeerTube-8f3ad70874f8769f5340632754dc2ca7f4c82733.tar.gz
PeerTube-8f3ad70874f8769f5340632754dc2ca7f4c82733.tar.zst
PeerTube-8f3ad70874f8769f5340632754dc2ca7f4c82733.zip
Fix transcoder test
Diffstat (limited to 'server/tests/api')
-rw-r--r--server/tests/api/videos/video-transcoder.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/tests/api/videos/video-transcoder.ts b/server/tests/api/videos/video-transcoder.ts
index a3d7b8707..ae21c3716 100644
--- a/server/tests/api/videos/video-transcoder.ts
+++ b/server/tests/api/videos/video-transcoder.ts
@@ -501,7 +501,7 @@ describe('Test video transcoding', function () {
501 501
502 const resolutions = [ 240, 360, 480, 720, 1080 ] 502 const resolutions = [ 240, 360, 480, 720, 1080 ]
503 for (const r of resolutions) { 503 for (const r of resolutions) {
504 expect(await getServerFileSize(servers[1], `videos/${videoUUID}-${r}.mp4`)).to.be.below(43) 504 expect(await getServerFileSize(servers[1], `videos/${videoUUID}-${r}.mp4`)).to.be.below(60000)
505 } 505 }
506 }) 506 })
507 507