From 210feb6cc484a6c5c63c98f770de34e223f944cb Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 24 Apr 2019 10:53:40 +0200 Subject: Cleanup tests --- server/tests/api/check-params/redundancy.ts | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'server/tests/api/check-params/redundancy.ts') 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 () { before(async function () { this.timeout(30000) - await flushTests() servers = await flushAndRunMultipleServers(2) await setAccessTokensToServers(servers) @@ -92,12 +91,7 @@ describe('Test server redundancy API validators', function () { }) }) - after(async function () { + after(function () { killallServers(servers) - - // Keep the logs if the test failed - if (this['ok']) { - await flushTests() - } }) }) -- cgit v1.2.3