Replace runMongoProgram(<mongo tool>, ...) calls with MongoRunner.runMongoTool(<mongo tool>, {...})

XMLWordPrintableJSON

    • Fully Compatible
    • Query 16 (06/24/16)
    • 0
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      SERVER-23474 made it so that MongoRunner.runMongoTool() would apply a --dialTimeout of 30 seconds if none was specified. The dial timeout causes the tool to try connecting for the specified time, which is useful for avoiding spurious test failures on resource-constrained test machines. We should change all places a mongo tool is invoked to call MongoRunner.runMongoTool() in order to take advantage of this.

              Assignee:
              Max Hirschhorn
              Reporter:
              Max Hirschhorn
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: