From 56d6e0fd455b63344fa79634cb497342eaff87cf Mon Sep 17 00:00:00 2001 From: PhilKunz Date: Sun, 11 Sep 2016 16:58:53 +0200 Subject: [PATCH] double time for mongo startup --- test/test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test.ts b/test/test.ts index 2bda496..37d1507 100644 --- a/test/test.ts +++ b/test/test.ts @@ -10,9 +10,9 @@ let testDbConnection: smartdata.DbConnection describe('mongodb',function(){ it('should start mongodb',function(done){ - this.timeout(10000) + this.timeout(20000) mongoChildProcess = shelljs.exec('mongod --dbpath=./test/data --port 27017',{async: true}) - setTimeout(() => { done() }, 5000) // give mongodb it some time to complete startup + setTimeout(() => { done() }, 10000) // give mongodb it some time to complete startup }) }) describe('smartdata',function(){