make tests finish

database.uninitialize must be called to drop the connection
This commit is contained in:
Girish Ramakrishnan
2017-11-27 11:48:36 -08:00
parent b6c20877ea
commit efe75f0c4e
14 changed files with 62 additions and 29 deletions

View File

@@ -182,7 +182,8 @@ function setup(done) {
function cleanup(done) {
async.series([
ldapServer.stop,
database._clear
database._clear,
database.uninitialize
], function () {
dockerProxy.close(function () { done(); }); // some strange error
});