Remove the disconnect to avoid race condition
This commit is contained in:
parent
24d75fdf8e
commit
b42f7d2498
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
@ -23,7 +23,7 @@ describe('relations', function () {
|
|||
});
|
||||
|
||||
after(function () {
|
||||
db.disconnect();
|
||||
// db.disconnect();
|
||||
});
|
||||
|
||||
describe('hasMany', function () {
|
||||
|
|
|
@ -44,7 +44,7 @@ describe('validations', function () {
|
|||
});
|
||||
|
||||
after(function () {
|
||||
db.disconnect();
|
||||
// db.disconnect();
|
||||
});
|
||||
|
||||
describe('commons', function () {
|
||||
|
|
Loading…
Reference in New Issue