From: Chocobozzz Date: Tue, 19 Jan 2021 07:35:44 +0000 (+0100) Subject: Fix user notification test X-Git-Tag: v3.1.0-rc.1~300 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=9f39c5466ea643bc46bc4d4751ce09cb05b6c762;p=github%2FChocobozzz%2FPeerTube.git Fix user notification test --- diff --git a/server/tests/api/notifications/user-notifications.ts b/server/tests/api/notifications/user-notifications.ts index a0d5a1fdd..6a65447fd 100644 --- a/server/tests/api/notifications/user-notifications.ts +++ b/server/tests/api/notifications/user-notifications.ts @@ -163,7 +163,7 @@ describe('Test user notifications', function () { await updateVideo(servers[0].url, servers[0].accessToken, uuid, { privacy: VideoPrivacy.PUBLIC }) - await wait(500) + await waitJobs(servers) await checkNewVideoFromSubscription(baseParams, name, uuid, 'presence') })