Fetch publishedAt after wait jobs
To make sure it's published
This commit is contained in:
parent
98846837eb
commit
4842e518be
1 changed files with 2 additions and 2 deletions
|
@ -60,12 +60,12 @@ function runTests (objectStorage: boolean) {
|
||||||
const { shortUUID } = await servers[0].videos.quickUpload({ name: 'video' })
|
const { shortUUID } = await servers[0].videos.quickUpload({ name: 'video' })
|
||||||
videoUUID = shortUUID
|
videoUUID = shortUUID
|
||||||
|
|
||||||
|
await waitJobs(servers)
|
||||||
|
|
||||||
const video = await servers[0].videos.get({ id: videoUUID })
|
const video = await servers[0].videos.get({ id: videoUUID })
|
||||||
publishedAt = video.publishedAt as string
|
publishedAt = video.publishedAt as string
|
||||||
|
|
||||||
await servers[0].config.enableTranscoding()
|
await servers[0].config.enableTranscoding()
|
||||||
|
|
||||||
await waitJobs(servers)
|
|
||||||
})
|
})
|
||||||
|
|
||||||
it('Should generate HLS', async function () {
|
it('Should generate HLS', async function () {
|
||||||
|
|
Loading…
Reference in a new issue