[SERVER-21327] Add top-level options to ReplSetTest and ShardingTest for configuring mongobridge command line Created: 06/Nov/15  Updated: 25/Nov/15  Resolved: 20/Nov/15

Status: Closed
Project: Core Server
Component/s: Testing Infrastructure
Affects Version/s: None
Fix Version/s: 3.2.0-rc4

Type: Task Priority: Minor - P4
Reporter: Max Hirschhorn Assignee: Max Hirschhorn
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: QuInt C (11/23/15)
Participants:

 Description   

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



 Comments   
Comment by Githook User [ 20/Nov/15 ]

Author:

{u'username': u'visemet', u'name': u'Max Hirschhorn', u'email': u'max.hirschhorn@mongodb.com'}

Message: SERVER-21327 Add bridgeOptions to ReplSetTest and ShardingTest.

The bridgeOptions object is transformed into command line arguments that
are passed to the started mongobridge process.
Branch: master
https://github.com/mongodb/mongo/commit/f74c394a7a925b9ab88c2e5c6abc70c0a630a27b

Generated at Thu Feb 08 03:57:00 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.