Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Fix CI

Chocobozzzf108600464b0
diff --git a/packages/tests/src/api/videos/video-schedule-update.ts b/packages/tests/src/api/videos/video-schedule-update.ts
index 40d231ab83..37c4373271 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) {