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

Resmoke should offer --run-under and --run-under-args flags

    XMLWordPrintable

Details

    Description

      Right now, it is hard to use resmoke to run processes under instrumentation like valgrind.

      The easiest way is to move mongos, mongod, and mongo to x.real, and then write shell scripts under the expected names that invoke the instrumentation program with the relevant arguments and the x.real file as the target to execute.

      It would simplify life greatly if resmoke offered flags like --run-under and --run-under-args, where processes started by resmoke were started as subordinates of the named program, launched with the specified arguments.

      I'm picturing:

      resmoke --run-under=valgrind --run-under-args="--track-origins=yes --leak-check=full"
      

      Attachments

        Activity

          People

            backlog-server-stm Backlog - Server Tooling and Methods (STM) (Inactive)
            andrew.morrow@mongodb.com Andrew Morrow
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: