Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-23741

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

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Activity

          People

            max.hirschhorn@mongodb.com Max Hirschhorn
            max.hirschhorn@mongodb.com Max Hirschhorn
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: