diff options
Diffstat (limited to 'server/tests/api/check-params/redundancy.ts')
-rw-r--r-- | server/tests/api/check-params/redundancy.ts | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/server/tests/api/check-params/redundancy.ts b/server/tests/api/check-params/redundancy.ts index 93b905fea..8f930fbbc 100644 --- a/server/tests/api/check-params/redundancy.ts +++ b/server/tests/api/check-params/redundancy.ts | |||
@@ -23,7 +23,6 @@ describe('Test server redundancy API validators', function () { | |||
23 | before(async function () { | 23 | before(async function () { |
24 | this.timeout(30000) | 24 | this.timeout(30000) |
25 | 25 | ||
26 | await flushTests() | ||
27 | servers = await flushAndRunMultipleServers(2) | 26 | servers = await flushAndRunMultipleServers(2) |
28 | 27 | ||
29 | await setAccessTokensToServers(servers) | 28 | await setAccessTokensToServers(servers) |
@@ -92,12 +91,7 @@ describe('Test server redundancy API validators', function () { | |||
92 | }) | 91 | }) |
93 | }) | 92 | }) |
94 | 93 | ||
95 | after(async function () { | 94 | after(function () { |
96 | killallServers(servers) | 95 | killallServers(servers) |
97 | |||
98 | // Keep the logs if the test failed | ||
99 | if (this['ok']) { | ||
100 | await flushTests() | ||
101 | } | ||
102 | }) | 96 | }) |
103 | }) | 97 | }) |