Fetch publishedAt after wait jobs

To make sure it's published
pull/4548/head
Chocobozzz 2021-11-18 16:29:42 +01:00
parent 98846837eb
commit 4842e518be
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 2 additions and 2 deletions

View File

@ -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 () {