From c1e5bd23d557976ba11f89c53a00c1657a7ea890 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 24 Sep 2019 10:19:55 +0200 Subject: Try to fix tests --- server/tests/api/server/reverse-proxy.ts | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'server/tests') diff --git a/server/tests/api/server/reverse-proxy.ts b/server/tests/api/server/reverse-proxy.ts index 00d9fca23..39b9fecc0 100644 --- a/server/tests/api/server/reverse-proxy.ts +++ b/server/tests/api/server/reverse-proxy.ts @@ -128,8 +128,12 @@ describe('Test application behind a reverse proxy', function () { await wait(7000) - for (let i = 0; i < 50; i++) { - await getVideo(server.url, videoId) + for (let i = 0; i < 100; i++) { + try { + await getVideo(server.url, videoId) + } catch { + // don't care if it fails + } } await getVideo(server.url, videoId, 429) -- cgit v1.2.3