Fix missing wait jobs
This commit is contained in:
parent
26818a73ba
commit
d1c64fd970
|
@ -170,7 +170,7 @@ describe('Test comments notifications', function () {
|
||||||
let baseParams: CheckerBaseParams
|
let baseParams: CheckerBaseParams
|
||||||
const byAccountDisplayName = 'super root name'
|
const byAccountDisplayName = 'super root name'
|
||||||
|
|
||||||
before(async () => {
|
before(async function () {
|
||||||
baseParams = {
|
baseParams = {
|
||||||
server: servers[0],
|
server: servers[0],
|
||||||
emails,
|
emails,
|
||||||
|
|
|
@ -331,7 +331,7 @@ describe('Test moderation notifications', function () {
|
||||||
let config: any
|
let config: any
|
||||||
let baseParams: CheckerBaseParams
|
let baseParams: CheckerBaseParams
|
||||||
|
|
||||||
before(async () => {
|
before(async function () {
|
||||||
baseParams = {
|
baseParams = {
|
||||||
server: servers[0],
|
server: servers[0],
|
||||||
emails,
|
emails,
|
||||||
|
@ -427,7 +427,7 @@ describe('Test moderation notifications', function () {
|
||||||
let videoName: string
|
let videoName: string
|
||||||
let currentCustomConfig: CustomConfig
|
let currentCustomConfig: CustomConfig
|
||||||
|
|
||||||
before(async () => {
|
before(async function () {
|
||||||
|
|
||||||
adminBaseParamsServer1 = {
|
adminBaseParamsServer1 = {
|
||||||
server: servers[0],
|
server: servers[0],
|
||||||
|
|
|
@ -484,7 +484,7 @@ describe('Test user notifications', function () {
|
||||||
const myChannelName = 'super channel name'
|
const myChannelName = 'super channel name'
|
||||||
const myUserName = 'super user name'
|
const myUserName = 'super user name'
|
||||||
|
|
||||||
before(async () => {
|
before(async function () {
|
||||||
baseParams = {
|
baseParams = {
|
||||||
server: servers[0],
|
server: servers[0],
|
||||||
emails,
|
emails,
|
||||||
|
|
|
@ -228,6 +228,8 @@ describe('Test runner VOD transcoding', function () {
|
||||||
const payload: VODWebVideoTranscodingSuccess = { videoFile: `video_short_${resolution}p.mp4` }
|
const payload: VODWebVideoTranscodingSuccess = { videoFile: `video_short_${resolution}p.mp4` }
|
||||||
await servers[0].runnerJobs.success({ runnerToken, jobUUID, jobToken, payload })
|
await servers[0].runnerJobs.success({ runnerToken, jobUUID, jobToken, payload })
|
||||||
}
|
}
|
||||||
|
|
||||||
|
await waitJobs(servers)
|
||||||
})
|
})
|
||||||
|
|
||||||
it('Should have the video updated', async function () {
|
it('Should have the video updated', async function () {
|
||||||
|
|
|
@ -127,7 +127,7 @@ describe('Test auto follows', function () {
|
||||||
const instanceIndexServer = new MockInstancesIndex()
|
const instanceIndexServer = new MockInstancesIndex()
|
||||||
let port: number
|
let port: number
|
||||||
|
|
||||||
before(async () => {
|
before(async function () {
|
||||||
port = await instanceIndexServer.initialize()
|
port = await instanceIndexServer.initialize()
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
|
@ -114,7 +114,7 @@ describe('Test user videos', function () {
|
||||||
describe('My videos & quotas', function () {
|
describe('My videos & quotas', function () {
|
||||||
|
|
||||||
it('Should be able to upload a video with a user', async function () {
|
it('Should be able to upload a video with a user', async function () {
|
||||||
this.timeout(10000)
|
this.timeout(30000)
|
||||||
|
|
||||||
const attributes = {
|
const attributes = {
|
||||||
name: 'super user video',
|
name: 'super user video',
|
||||||
|
|
|
@ -287,7 +287,7 @@ describe('Test plugin helpers', function () {
|
||||||
let videoUUID: string
|
let videoUUID: string
|
||||||
let videoPath: string
|
let videoPath: string
|
||||||
|
|
||||||
before(async () => {
|
before(async function () {
|
||||||
this.timeout(240000)
|
this.timeout(240000)
|
||||||
|
|
||||||
await servers[0].config.enableTranscoding()
|
await servers[0].config.enableTranscoding()
|
||||||
|
|
Loading…
Reference in New Issue