From bf086e76fb8431398d232e9a911bdf809e5825dd Mon Sep 17 00:00:00 2001 From: Ben Newman Date: Sun, 23 Jul 2017 11:55:47 -0400 Subject: [PATCH] Fix typo that allowed _startMongoAsync to be retried forever. Thanks to @jamesmillerburgess for catching this! https://github.com/meteor/meteor/pull/8728#discussion_r128912266 --- tools/runners/run-all.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/runners/run-all.js b/tools/runners/run-all.js index d6835a282b..2c05bf3d71 100644 --- a/tools/runners/run-all.js +++ b/tools/runners/run-all.js @@ -138,7 +138,7 @@ class Runner { if (tries > 0) { self.mongoRunner.stop(); - setTimeout(startMongo, 1000); + setTimeout(() => startMongo(tries), 1000); } else { self.mongoRunner._fail(); }