aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2023-05-15 16:16:41 +0200
committerChocobozzz <me@florianbigard.com>2023-05-15 16:16:41 +0200
commitaa5473314973a1c941546c1ec09108e94a61b3c9 (patch)
treeba64ab5f7ace4eb2a5e786bd51e15baed2ff2d73 /server/tests/api
parent261dac403a6380ea46f4f0bee8d50c6f661fbdfa (diff)
downloadPeerTube-aa5473314973a1c941546c1ec09108e94a61b3c9.tar.gz
PeerTube-aa5473314973a1c941546c1ec09108e94a61b3c9.tar.zst
PeerTube-aa5473314973a1c941546c1ec09108e94a61b3c9.zip
Add retries to all webtorrent tests
Diffstat (limited to 'server/tests/api')
-rw-r--r--server/tests/api/videos/multiple-servers.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/server/tests/api/videos/multiple-servers.ts b/server/tests/api/videos/multiple-servers.ts
index 9d89577cc..27ba00d3d 100644
--- a/server/tests/api/videos/multiple-servers.ts
+++ b/server/tests/api/videos/multiple-servers.ts
@@ -439,6 +439,7 @@ describe('Test multiple servers', function () {
439 }) 439 })
440 440
441 it('Should add the file 3-2 by asking server 1', async function () { 441 it('Should add the file 3-2 by asking server 1', async function () {
442 this.retries(2)
442 this.timeout(30000) 443 this.timeout(30000)
443 444
444 const { data } = await servers[0].videos.list() 445 const { data } = await servers[0].videos.list()
@@ -450,6 +451,7 @@ describe('Test multiple servers', function () {
450 }) 451 })
451 452
452 it('Should add the file 2 in 360p by asking server 1', async function () { 453 it('Should add the file 2 in 360p by asking server 1', async function () {
454 this.retries(2)
453 this.timeout(30000) 455 this.timeout(30000)
454 456
455 const { data } = await servers[0].videos.list() 457 const { data } = await servers[0].videos.list()