diff options
Diffstat (limited to 'jstests/libs/slow_weekly_util.js')
-rw-r--r-- | jstests/libs/slow_weekly_util.js | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/jstests/libs/slow_weekly_util.js b/jstests/libs/slow_weekly_util.js index 18fc0874daa..69b8fb27624 100644 --- a/jstests/libs/slow_weekly_util.js +++ b/jstests/libs/slow_weekly_util.js @@ -1,11 +1,10 @@ SlowWeeklyMongod = function( name ) { this.name = name; - this.port = 30201; - this.start = new Date(); - this.conn = MongoRunner.runMongod({port: this.port, smallfiles: "", nojournal: ""}); + this.conn = MongoRunner.runMongod({smallfiles: "", nojournal: ""}); + this.port = this.conn.port; }; SlowWeeklyMongod.prototype.getDB = function( name ) { |