give taskmanager couple of seconds to kill all processes

This commit is contained in:
Girish Ramakrishnan
2015-09-09 10:39:26 -07:00
parent f3d15cd4a5
commit ed48f84355

View File

@@ -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')