From b42f7d24987b6b6d892933be2cd25192a1380852 Mon Sep 17 00:00:00 2001 From: Raymond Feng Date: Thu, 27 Mar 2014 13:56:24 -0700 Subject: [PATCH] Remove the disconnect to avoid race condition --- test/common_test.js | 2 +- test/relations.test.js | 2 +- test/validations.test.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/test/common_test.js b/test/common_test.js index ace03719..2f91b5a7 100644 --- a/test/common_test.js +++ b/test/common_test.js @@ -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); } diff --git a/test/relations.test.js b/test/relations.test.js index 5aefe62d..9955ada7 100644 --- a/test/relations.test.js +++ b/test/relations.test.js @@ -23,7 +23,7 @@ describe('relations', function () { }); after(function () { - db.disconnect(); + // db.disconnect(); }); describe('hasMany', function () { diff --git a/test/validations.test.js b/test/validations.test.js index 50556a5e..54a50237 100644 --- a/test/validations.test.js +++ b/test/validations.test.js @@ -44,7 +44,7 @@ describe('validations', function () { }); after(function () { - db.disconnect(); + // db.disconnect(); }); describe('commons', function () {