double time for mongo startup
This commit is contained in:
parent
89ebf23d46
commit
56d6e0fd45
@ -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(){
|
||||
|
Loading…
Reference in New Issue
Block a user