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

Cannot set MongoRunner.mongodPath or MongoRunner.mongosPath and run multiversion tests or test commands

    • Server Tooling & Methods
    • ALL

      resmoke.py supports setting --mongod and --mongos command line options to have MongoRunner use those binaries when spawning mongod and mongos binaries, respectively. This behavior interferes with multiversion testing (i.e. binVersion != "latest") because the path to the mongod-* executables are resolved relative to the MongoRunner.mongodPath path even though they are meant to be findable on the PATH.

      The work on this ticket would involve not using MongoRunner.mongodPath or MongoRunner.mongosPath when binVersion != "latest", and to instead use "mongod" and "mongos" as the binaryName.

      Additionally, the appendSetParameterArgs() function should modified to treat "path/to/mongod" and "mongod" as the latest version. The baseProgramName needs to actually get the basename of the programName variable.

            Assignee:
            backlog-server-stm Backlog - Server Tooling and Methods (STM) (Inactive)
            Reporter:
            max.hirschhorn@mongodb.com Max Hirschhorn
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: