aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api
diff options
context:
space:
mode:
Diffstat (limited to 'server/tests/api')
-rw-r--r--server/tests/api/server/reverse-proxy.ts8
1 files changed, 6 insertions, 2 deletions
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 () {
128 128
129 await wait(7000) 129 await wait(7000)
130 130
131 for (let i = 0; i < 50; i++) { 131 for (let i = 0; i < 100; i++) {
132 await getVideo(server.url, videoId) 132 try {
133 await getVideo(server.url, videoId)
134 } catch {
135 // don't care if it fails
136 }
133 } 137 }
134 138
135 await getVideo(server.url, videoId, 429) 139 await getVideo(server.url, videoId, 429)