From 339d3fba832daa916f497543b8e03f2fb5ffe12b Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Mon, 15 May 2023 11:41:43 +0200 Subject: Allow to retry some tests that may fail --- server/tests/api/videos/multiple-servers.ts | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'server/tests/api') diff --git a/server/tests/api/videos/multiple-servers.ts b/server/tests/api/videos/multiple-servers.ts index a52a04e07..9d89577cc 100644 --- a/server/tests/api/videos/multiple-servers.ts +++ b/server/tests/api/videos/multiple-servers.ts @@ -398,7 +398,9 @@ describe('Test multiple servers', function () { }) describe('Should seed the uploaded video', function () { + it('Should add the file 1 by asking server 3', async function () { + this.retries(2) this.timeout(30000) const { data } = await servers[2].videos.list() @@ -413,6 +415,7 @@ describe('Test multiple servers', function () { }) it('Should add the file 2 by asking server 1', async function () { + this.retries(2) this.timeout(30000) const { data } = await servers[0].videos.list() @@ -424,6 +427,7 @@ describe('Test multiple servers', function () { }) it('Should add the file 3 by asking server 2', async function () { + this.retries(2) this.timeout(30000) const { data } = await servers[1].videos.list() -- cgit v1.2.3