From 09becad8e85cc4007ff862b26fa4195f3d0e7c8d Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 29 Mar 2018 11:22:27 +0200 Subject: Add reverse proxy test in travis --- server/tests/api/index-fast.ts | 1 + server/tests/api/server/reverse-proxy.ts | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'server/tests') diff --git a/server/tests/api/index-fast.ts b/server/tests/api/index-fast.ts index 464dcb5e0..aa063b97a 100644 --- a/server/tests/api/index-fast.ts +++ b/server/tests/api/index-fast.ts @@ -11,3 +11,4 @@ import './videos/video-privacy' import './videos/services' import './server/email' import './server/config' +import './server/reverse-proxy' diff --git a/server/tests/api/server/reverse-proxy.ts b/server/tests/api/server/reverse-proxy.ts index aa4b3ae81..4c2655f64 100644 --- a/server/tests/api/server/reverse-proxy.ts +++ b/server/tests/api/server/reverse-proxy.ts @@ -64,7 +64,7 @@ describe('Test application behind a reverse proxy', function () { it('Should rate limit logins', async function () { const user = { username: 'root', password: 'fail' } - for (let i = 0; i < 9; i++) { + for (let i = 0; i < 14; i++) { await userLogin(server, user, 400) } -- cgit v1.2.3