aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-05-11 14:23:49 +0200
committerChocobozzz <me@florianbigard.com>2021-05-11 14:23:49 +0200
commita3c997b34cad79fce92c67951a3c8140a9888973 (patch)
tree97e685638989af094d1aa2b025216656bacb6a85 /server/tests
parent428ccb8b7a44ce60cabb7401a5464cf5fcbd4dba (diff)
downloadPeerTube-a3c997b34cad79fce92c67951a3c8140a9888973.tar.gz
PeerTube-a3c997b34cad79fce92c67951a3c8140a9888973.tar.zst
PeerTube-a3c997b34cad79fce92c67951a3c8140a9888973.zip
Update README
Diffstat (limited to 'server/tests')
-rw-r--r--server/tests/api/server/handle-down.ts10
1 files changed, 6 insertions, 4 deletions
diff --git a/server/tests/api/server/handle-down.ts b/server/tests/api/server/handle-down.ts
index fa1a3c444..fe4a0e100 100644
--- a/server/tests/api/server/handle-down.ts
+++ b/server/tests/api/server/handle-down.ts
@@ -346,10 +346,12 @@ describe('Test handle downs', function () {
346 // Wait video expiration 346 // Wait video expiration
347 await wait(11000) 347 await wait(11000)
348 348
349 for (let i = 0; i < 3; i++) { 349 for (let i = 0; i < 5; i++) {
350 await getVideo(servers[1].url, videoIdsServer1[i]) 350 try {
351 await waitJobs([ servers[1] ]) 351 await getVideo(servers[1].url, videoIdsServer1[i])
352 await wait(1500) 352 await waitJobs([ servers[1] ])
353 await wait(1500)
354 } catch {}
353 } 355 }
354 356
355 for (const id of videoIdsServer1) { 357 for (const id of videoIdsServer1) {