mirror of https://github.com/Chocobozzz/PeerTube
Fix print transcode command test
parent
7f529402d1
commit
06ac128958
|
@ -11,7 +11,8 @@ import {
|
||||||
PeerTubeServer,
|
PeerTubeServer,
|
||||||
setAccessTokensToServers,
|
setAccessTokensToServers,
|
||||||
setDefaultAccountAvatar,
|
setDefaultAccountAvatar,
|
||||||
setDefaultChannelAvatar
|
setDefaultChannelAvatar,
|
||||||
|
waitJobs
|
||||||
} from '@shared/server-commands'
|
} from '@shared/server-commands'
|
||||||
|
|
||||||
const expect = chai.expect
|
const expect = chai.expect
|
||||||
|
@ -358,6 +359,8 @@ describe('Test a single server', function () {
|
||||||
it('Should have the video updated', async function () {
|
it('Should have the video updated', async function () {
|
||||||
this.timeout(60000)
|
this.timeout(60000)
|
||||||
|
|
||||||
|
await waitJobs([ server ])
|
||||||
|
|
||||||
const video = await server.videos.get({ id: videoId })
|
const video = await server.videos.get({ id: videoId })
|
||||||
|
|
||||||
await completeVideoCheck(server, video, updateCheckAttributes())
|
await completeVideoCheck(server, video, updateCheckAttributes())
|
||||||
|
|
|
@ -27,8 +27,8 @@ describe('Test print transcode jobs', function () {
|
||||||
expect(command).to.includes('-r 25')
|
expect(command).to.includes('-r 25')
|
||||||
expect(command).to.includes('-level:v 3.1')
|
expect(command).to.includes('-level:v 3.1')
|
||||||
expect(command).to.includes('-g:v 50')
|
expect(command).to.includes('-g:v 50')
|
||||||
expect(command).to.includes(`-maxrate `)
|
expect(command).to.includes(`-maxrate:v `)
|
||||||
expect(command).to.includes(`-bufsize `)
|
expect(command).to.includes(`-bufsize:v `)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue