Skip to content

Commit

Permalink
update timeout for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmartins committed Jan 25, 2016
1 parent 2943ec5 commit 96b5d1d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ describe('JSONDBFS Driver', function testSpec() {
});

it('should insert 250K objects', function test(done) {
this.timeout(15000);
JSONDBFSDriver.connect(['AnotherCollection'], function afterConnect(err, db) {
db.AnotherCollection.insert(data, function afterInsert(err, res) {
assert.equal(err, undefined);
Expand All @@ -66,7 +67,7 @@ describe('JSONDBFS Driver', function testSpec() {
});

it('should insert 300 concurrent objects', function test(done) {
this.timeout(10000);
this.timeout(15000);
var concurrentObjs = 300;
JSONDBFSDriver.connect(['Concurrent'], function afterConnect(err, db) {
async.times(concurrentObjs, function forEach(n, next) {
Expand Down

0 comments on commit 96b5d1d

Please sign in to comment.