From 522d86dc4e71c49241abe794bb01f05adc0882cc Mon Sep 17 00:00:00 2001 From: Hugh Willson Date: Fri, 4 Aug 2017 08:50:55 -0400 Subject: [PATCH] Increase mongo connection timeout to reduce self-test mongo errors. Certain self-test's like "modules - test app" are encountering mongo connection timeout errors on some runs. Increasing the connection timeout helps address these errors. --- tools/runners/run-mongo.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/runners/run-mongo.js b/tools/runners/run-mongo.js index e3cf6b3a53..b3d93ea412 100644 --- a/tools/runners/run-mongo.js +++ b/tools/runners/run-mongo.js @@ -593,7 +593,7 @@ var launchMongo = function (options) { 'meteor', new mongoNpmModule.Server('127.0.0.1', options.port, { poolSize: 1, - socketOptions: {connectTimeoutMS: 30000}, + socketOptions: {connectTimeoutMS: 60000}, }), {safe: true});