Remove the disconnect to avoid race condition

This commit is contained in:
Raymond Feng 2014-03-27 13:56:24 -07:00
parent 24d75fdf8e
commit b42f7d2498
3 changed files with 3 additions and 3 deletions

View File

@ -44,7 +44,7 @@ module.exports = function testSchema(exportCasesHere, dataSource) {
};
function allTestsDone() {
dataSource.disconnect();
// dataSource.disconnect();
console.log('Test done in %dms\n', Date.now() - start);
}

View File

@ -23,7 +23,7 @@ describe('relations', function () {
});
after(function () {
db.disconnect();
// db.disconnect();
});
describe('hasMany', function () {

View File

@ -44,7 +44,7 @@ describe('validations', function () {
});
after(function () {
db.disconnect();
// db.disconnect();
});
describe('commons', function () {