diff --git a/test/mocha.opts b/test/mocha.opts index 980c5d7..212be42 100644 --- a/test/mocha.opts +++ b/test/mocha.opts @@ -4,4 +4,4 @@ --growl --colors --check-leaks ---timeout 20000 +--timeout 5000 diff --git a/test/server_mongo.js b/test/server_mongo.js index 4ea3393..7569d9b 100644 --- a/test/server_mongo.js +++ b/test/server_mongo.js @@ -6,6 +6,8 @@ var MongoClient = require('mongodb').MongoClient; var clean = require("mongo-clean"); describe("mosca.Server with mongo persistence", function() { + this.timeout(10000); + var mongoConnection; var mongoUrl = "mongodb://localhost:27017/mosca";