diff --git a/.travis.yml b/.travis.yml index 68052a1f..e6248cfd 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,6 +8,7 @@ env: matrix: - MONGODB_VERSION=2.6.11 - MONGODB_VERSION=3.0.8 + - MONGODB_VERSION=3.2.6 branches: only: - master diff --git a/package.json b/package.json index ac8bc7e0..c8f36227 100644 --- a/package.json +++ b/package.json @@ -59,13 +59,13 @@ "deep-diff": "^0.3.3", "gaze": "^1.0.0", "jasmine": "^2.3.2", - "mongodb-runner": "3.2.2", + "mongodb-runner": "^3.3.2", "nodemon": "^1.8.1" }, "scripts": { "dev": "npm run build && node bin/dev", "build": "./node_modules/.bin/babel src/ -d lib/", - "pretest": "cross-env MONGODB_VERSION=${MONGODB_VERSION:=3.0.8} ./node_modules/.bin/mongodb-runner start", + "pretest": "cross-env MONGODB_VERSION=${MONGODB_VERSION:=3.2.6} MONGODB_STORAGE_ENGINE=mmapv1 ./node_modules/.bin/mongodb-runner start", "test": "cross-env NODE_ENV=test TESTING=1 ./node_modules/.bin/babel-node $COVERAGE_OPTION ./node_modules/jasmine/bin/jasmine.js", "test:win": "npm run pretest && cross-env NODE_ENV=test TESTING=1 ./node_modules/.bin/babel-node ./node_modules/babel-istanbul/lib/cli.js cover -x **/spec/** ./node_modules/jasmine/bin/jasmine.js && npm run posttest", "posttest": "./node_modules/.bin/mongodb-runner stop", diff --git a/spec/helper.js b/spec/helper.js index 049c9664..5d804d12 100644 --- a/spec/helper.js +++ b/spec/helper.js @@ -1,6 +1,6 @@ // Sets up a Parse API server for testing. -jasmine.DEFAULT_TIMEOUT_INTERVAL = 2000; +jasmine.DEFAULT_TIMEOUT_INTERVAL = 15000; var cache = require('../src/cache').default; var DatabaseAdapter = require('../src/DatabaseAdapter');