Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Add retries to all webtorrent tests

Chocobozzzaa5473314973
diff --git a/server/tests/api/videos/multiple-servers.ts b/server/tests/api/videos/multiple-servers.ts
index 9d89577cc8..27ba00d3d5 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 () {
})
it('Should add the file 3-2 by asking server 1', async function () {
+ this.retries(2)
this.timeout(30000)
const { data } = await servers[0].videos.list()
@@ -450,6 +451,7 @@ describe('Test multiple servers', function () {
})
it('Should add the file 2 in 360p by asking server 1', async function () {
+ this.retries(2)
this.timeout(30000)
const { data } = await servers[0].videos.list()