mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-06 03:50:26 +02:00
Ensure we don't run transcoding after import file
This commit is contained in:
parent
0c8af78521
commit
842a15732b
3 changed files with 19 additions and 6 deletions
|
@ -7,6 +7,7 @@ import {
|
|||
cleanupTests,
|
||||
createMultipleServers,
|
||||
doubleFollow,
|
||||
expectNoFailedTranscodingJob,
|
||||
expectStartWith,
|
||||
makeRawRequest,
|
||||
ObjectStorageCommand,
|
||||
|
@ -30,11 +31,6 @@ async function checkFilesInObjectStorage (video: VideoDetails) {
|
|||
}
|
||||
}
|
||||
|
||||
async function expectNoFailedTranscodingJob (server: PeerTubeServer) {
|
||||
const { data } = await server.jobs.listFailed({ jobType: 'video-transcoding' })
|
||||
expect(data).to.have.lengthOf(0)
|
||||
}
|
||||
|
||||
function runTests (objectStorage: boolean) {
|
||||
let servers: PeerTubeServer[] = []
|
||||
let videoUUID: string
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue