From f108600464b09fbed320f6b399610bed36d86eda Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Mon, 30 Oct 2023 09:09:48 +0100 Subject: [PATCH] Fix CI --- .../tests/src/api/videos/video-schedule-update.ts | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/packages/tests/src/api/videos/video-schedule-update.ts b/packages/tests/src/api/videos/video-schedule-update.ts index 40d231ab8..37c437327 100644 --- a/packages/tests/src/api/videos/video-schedule-update.ts +++ b/packages/tests/src/api/videos/video-schedule-update.ts @@ -134,9 +134,16 @@ describe('Test video update scheduler', function () { }) it('Should wait some seconds and have the updated video in public privacy', async function () { - this.timeout(20000) + this.timeout(45000) + + let total = 0 + do { + const res = await servers[0].videos.list() + total = res.total + + await wait(500) + } while (total !== 2) - await wait(15000) await waitJobs(servers) for (const server of servers) {