UT: Fix server stopping.

This commit is contained in:
Arthur Britto
2013-03-23 19:02:04 -07:00
committed by Stefan Thomas
parent 457296a231
commit b438bba775

View File

@@ -129,14 +129,14 @@ var build_teardown = function (host) {
.connect(false);
},
function stopServerStep(callback) {
if (opts.no_server)
{
return callback();
}
return callback();
}
data.server.on('stopped', callback).stop();
data.server
.on('stopped', callback)
.stop();
}
], done);
};