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/real-world/populate-database.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'server/tests/real-world') diff --git a/server/tests/real-world/populate-database.ts b/server/tests/real-world/populate-database.ts index 459c9cbd8..b1c1688e7 100644 --- a/server/tests/real-world/populate-database.ts +++ b/server/tests/real-world/populate-database.ts @@ -6,7 +6,7 @@ import { getVideosList, killallServers, rateVideo, - runServer, + flushAndRunServer, ServerInfo, setAccessTokensToServers, uploadVideo @@ -19,11 +19,10 @@ start() // ---------------------------------------------------------------------------- async function start () { - await flushTests() console.log('Flushed tests.') - const server = await runServer(6) + const server = await flushAndRunServer(6) process.on('exit', async () => { killallServers([ server ]) -- cgit v1.2.3