|
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}}
|
}}
|
|