Add top-level options to ReplSetTest and ShardingTest for configuring mongobridge command line

XMLWordPrintableJSON

    • Fully Compatible
    • QuInt C (11/23/15)
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      SERVER-20869 adds a --seed command line argument to mongobridge and SERVER-21326 adds a --verbose command line argument to mongobridge. However, there is no simple way of configuring MongoBridge instances created by ReplSetTest and ShardingTest to pass those options to the mongobridge.

      Propose adding a top-level bridgeOptions to each of the test fixture constructors as well as having a bridgeOptions field in the options for a particular node. For example:

      { bridgeOptions: { verbose: 1}, 
        nodes: {
          node0: {bridgeOptions: {seed: 10}},
          node1: {bridgeOptions: {seed: 20, verbose: 2}}
      }}
      

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

              Created:
              Updated:
              Resolved: