ActivityPub-federated video streaming platform using P2P directly in your web browser
Fix missing wait jobs
Chocobozzzd1c64fd970fc
diff --git a/server/tests/api/notifications/comments-notifications.ts b/server/tests/api/notifications/comments-notifications.tsindex 65007193ad..0a4bfc5e4d 100644--- a/server/tests/api/notifications/comments-notifications.ts+++ b/server/tests/api/notifications/comments-notifications.ts@@ -170,7 +170,7 @@ describe('Test comments notifications', function () {let baseParams: CheckerBaseParamsconst byAccountDisplayName = 'super root name'- before(async () => {+ before(async function () {baseParams = {server: servers[0],emails,diff --git a/server/tests/api/notifications/moderation-notifications.ts b/server/tests/api/notifications/moderation-notifications.tsindex d80de821e4..e7a5c47e95 100644--- a/server/tests/api/notifications/moderation-notifications.ts+++ b/server/tests/api/notifications/moderation-notifications.ts@@ -331,7 +331,7 @@ describe('Test moderation notifications', function () {let config: anylet baseParams: CheckerBaseParams- before(async () => {+ before(async function () {baseParams = {server: servers[0],emails,@@ -427,7 +427,7 @@ describe('Test moderation notifications', function () {let videoName: stringlet currentCustomConfig: CustomConfig- before(async () => {+ before(async function () {adminBaseParamsServer1 = {server: servers[0],diff --git a/server/tests/api/notifications/user-notifications.ts b/server/tests/api/notifications/user-notifications.tsindex 7a8a234c21..55da102659 100644--- a/server/tests/api/notifications/user-notifications.ts+++ b/server/tests/api/notifications/user-notifications.ts@@ -484,7 +484,7 @@ describe('Test user notifications', function () {const myChannelName = 'super channel name'const myUserName = 'super user name'- before(async () => {+ before(async function () {baseParams = {server: servers[0],emails,diff --git a/server/tests/api/runners/runner-vod-transcoding.ts b/server/tests/api/runners/runner-vod-transcoding.tsindex 58478ba4a9..43e005bbee 100644--- a/server/tests/api/runners/runner-vod-transcoding.ts+++ b/server/tests/api/runners/runner-vod-transcoding.ts@@ -228,6 +228,8 @@ describe('Test runner VOD transcoding', function () {const payload: VODWebVideoTranscodingSuccess = { videoFile: `video_short_${resolution}p.mp4` }await servers[0].runnerJobs.success({ runnerToken, jobUUID, jobToken, payload })}++ await waitJobs(servers)})it('Should have the video updated', async function () {diff --git a/server/tests/api/server/auto-follows.ts b/server/tests/api/server/auto-follows.tsindex 99d5c3142b..6ce1a3799b 100644--- a/server/tests/api/server/auto-follows.ts+++ b/server/tests/api/server/auto-follows.ts@@ -127,7 +127,7 @@ describe('Test auto follows', function () {const instanceIndexServer = new MockInstancesIndex()let port: number- before(async () => {+ before(async function () {port = await instanceIndexServer.initialize()})diff --git a/server/tests/api/users/user-videos.ts b/server/tests/api/users/user-videos.tsindex 0351ae8535..6969495044 100644--- a/server/tests/api/users/user-videos.ts+++ b/server/tests/api/users/user-videos.ts@@ -114,7 +114,7 @@ describe('Test user videos', function () {describe('My videos & quotas', function () {it('Should be able to upload a video with a user', async function () {- this.timeout(10000)+ this.timeout(30000)const attributes = {name: 'super user video',diff --git a/server/tests/plugins/plugin-helpers.ts b/server/tests/plugins/plugin-helpers.tsindex e25992723d..a47b7d4d2f 100644--- a/server/tests/plugins/plugin-helpers.ts+++ b/server/tests/plugins/plugin-helpers.ts@@ -287,7 +287,7 @@ describe('Test plugin helpers', function () {let videoUUID: stringlet videoPath: string- before(async () => {+ before(async function () {this.timeout(240000)await servers[0].config.enableTranscoding()