aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2019-09-24 10:19:55 +0200
committerChocobozzz <me@florianbigard.com>2019-09-24 10:19:55 +0200
commitc1e5bd23d557976ba11f89c53a00c1657a7ea890 (patch)
treeea6c3808a00122d77237418b125b512f3ad2626e /server/tests
parent6aa541481390980f9c85d2e66514ba0e6ce77a35 (diff)
downloadPeerTube-c1e5bd23d557976ba11f89c53a00c1657a7ea890.tar.gz
PeerTube-c1e5bd23d557976ba11f89c53a00c1657a7ea890.tar.zst
PeerTube-c1e5bd23d557976ba11f89c53a00c1657a7ea890.zip
Try to fix tests
Diffstat (limited to 'server/tests')
-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)