diff --git a/src/routes/test/apps-test.js b/src/routes/test/apps-test.js index cba7c860d..187e57973 100644 --- a/src/routes/test/apps-test.js +++ b/src/routes/test/apps-test.js @@ -134,6 +134,8 @@ function cleanup(done) { async.series([ server.stop, + function (callback) { setTimeout(callback, 2000); }, // give taskmanager tasks couple of seconds to finish + database._clear, child_process.exec.bind(null, 'docker rm -f mysql; docker rm -f postgresql; docker rm -f mongodb')