...

Text file src/go.mongodb.org/mongo-driver/testdata/server-selection/in_window/two-choices.yml

Documentation: go.mongodb.org/mongo-driver/testdata/server-selection/in_window

     1description: Better of two choices always selected
     2topology_description:
     3  type: Sharded
     4  servers:
     5    - address: a:27017
     6      avg_rtt_ms: 35
     7      type: Mongos
     8    - address: b:27017
     9      avg_rtt_ms: 35
    10      type: Mongos
    11mocked_topology_state:
    12  - address: a:27017
    13    operation_count: 0
    14  - address: b:27017
    15    operation_count: 5
    16iterations: 100
    17outcome:
    18  tolerance: 0.0
    19  expected_frequencies:
    20    a:27017: 1
    21    b:27017: 0

View as plain text