]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
Fix user notification test
authorChocobozzz <me@florianbigard.com>
Tue, 19 Jan 2021 07:35:44 +0000 (08:35 +0100)
committerChocobozzz <me@florianbigard.com>
Tue, 19 Jan 2021 07:35:44 +0000 (08:35 +0100)
server/tests/api/notifications/user-notifications.ts

index a0d5a1fddb8247ab5b099043b29e7a137533eb22..6a65447fdefc513f5213934a84732987574459c3 100644 (file)
@@ -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')
     })