]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
Fix handle downs test
authorChocobozzz <me@florianbigard.com>
Mon, 10 May 2021 14:28:26 +0000 (16:28 +0200)
committerChocobozzz <me@florianbigard.com>
Mon, 10 May 2021 14:28:26 +0000 (16:28 +0200)
server/tests/api/server/handle-down.ts

index f3ba11950018e0ed726cc668f10d546ad74d76ee..817c79f6e3013a85ab295c6c5e2e5733273f3f39 100644 (file)
@@ -143,7 +143,7 @@ describe('Test handle downs', function () {
       await uploadVideo(servers[0].url, servers[0].accessToken, videoAttributes)
     }
 
-    await waitJobs(servers[0])
+    await waitJobs([ servers[0], servers[2] ])
 
     // Kill server 3
     killallServers([ servers[2] ])