diff options
Diffstat (limited to 'server/tests')
-rw-r--r-- | server/tests/api/videos/video-transcoder.ts | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/server/tests/api/videos/video-transcoder.ts b/server/tests/api/videos/video-transcoder.ts index 1058baaa3..1c99f26df 100644 --- a/server/tests/api/videos/video-transcoder.ts +++ b/server/tests/api/videos/video-transcoder.ts | |||
@@ -721,12 +721,7 @@ describe('Test video transcoding', function () { | |||
721 | expect(webtorrentJobs).to.have.lengthOf(6) | 721 | expect(webtorrentJobs).to.have.lengthOf(6) |
722 | expect(optimizeJobs).to.have.lengthOf(1) | 722 | expect(optimizeJobs).to.have.lengthOf(1) |
723 | 723 | ||
724 | for (const j of optimizeJobs) { | 724 | for (const j of optimizeJobs.concat(hlsJobs.concat(webtorrentJobs))) { |
725 | expect(j.priority).to.be.greaterThan(11) | ||
726 | expect(j.priority).to.be.lessThan(50) | ||
727 | } | ||
728 | |||
729 | for (const j of hlsJobs.concat(webtorrentJobs)) { | ||
730 | expect(j.priority).to.be.greaterThan(100) | 725 | expect(j.priority).to.be.greaterThan(100) |
731 | expect(j.priority).to.be.lessThan(150) | 726 | expect(j.priority).to.be.lessThan(150) |
732 | } | 727 | } |