diff options
author | Chocobozzz <me@florianbigard.com> | 2022-03-16 18:21:36 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-03-16 18:35:05 +0100 |
commit | 52fe4b671a20c37ae46cf88d175dd16cddfc4de7 (patch) | |
tree | 41339d83393d9e7d3ca05b66aeb9bd79c6019b2c /server/tests/api/check-params | |
parent | f012319a644fe8d9d33f2f567fa828442a3b39fd (diff) | |
download | PeerTube-52fe4b671a20c37ae46cf88d175dd16cddfc4de7.tar.gz PeerTube-52fe4b671a20c37ae46cf88d175dd16cddfc4de7.tar.zst PeerTube-52fe4b671a20c37ae46cf88d175dd16cddfc4de7.zip |
Fix torrent creation
Diffstat (limited to 'server/tests/api/check-params')
-rw-r--r-- | server/tests/api/check-params/video-editor.ts | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/server/tests/api/check-params/video-editor.ts b/server/tests/api/check-params/video-editor.ts index db284a3cc..1fd22c497 100644 --- a/server/tests/api/check-params/video-editor.ts +++ b/server/tests/api/check-params/video-editor.ts | |||
@@ -122,10 +122,11 @@ describe('Test video editor API validator', function () { | |||
122 | }) | 122 | }) |
123 | 123 | ||
124 | it('Should fail with an already in transcoding state video', async function () { | 124 | it('Should fail with an already in transcoding state video', async function () { |
125 | await server.jobs.pauseJobQueue() | ||
126 | |||
127 | const { uuid } = await server.videos.quickUpload({ name: 'transcoded video' }) | 125 | const { uuid } = await server.videos.quickUpload({ name: 'transcoded video' }) |
128 | 126 | ||
127 | await server.jobs.pauseJobQueue() | ||
128 | await server.videos.runTranscoding({ videoId: uuid, transcodingType: 'hls' }) | ||
129 | |||
129 | await command.createEditionTasks({ | 130 | await command.createEditionTasks({ |
130 | videoId: uuid, | 131 | videoId: uuid, |
131 | tasks: VideoEditorCommand.getComplexTask(), | 132 | tasks: VideoEditorCommand.getComplexTask(), |