| 1 | { |
| 2 | "description": "Least operations gets most selections, two tied share the rest", |
| 3 | "topology_description": { |
| 4 | "type": "Sharded", |
| 5 | "servers": [ |
| 6 | { |
| 7 | "address": "a:27017", |
| 8 | "avg_rtt_ms": 35, |
| 9 | "type": "Mongos" |
| 10 | }, |
| 11 | { |
| 12 | "address": "b:27017", |
| 13 | "avg_rtt_ms": 35, |
| 14 | "type": "Mongos" |
| 15 | }, |
| 16 | { |
| 17 | "address": "c:27017", |
| 18 | "avg_rtt_ms": 35, |
| 19 | "type": "Mongos" |
| 20 | } |
| 21 | ] |
| 22 | }, |
| 23 | "mocked_topology_state": [ |
| 24 | { |
| 25 | "address": "a:27017", |
| 26 | "operation_count": 16 |
| 27 | }, |
| 28 | { |
| 29 | "address": "b:27017", |
| 30 | "operation_count": 10 |
| 31 | }, |
| 32 | { |
| 33 | "address": "c:27017", |
| 34 | "operation_count": 16 |
| 35 | } |
| 36 | ], |
| 37 | "iterations": 2000, |
| 38 | "outcome": { |
| 39 | "tolerance": 0.05, |
| 40 | "expected_frequencies": { |
| 41 | "a:27017": 0.165, |
| 42 | "b:27017": 0.66, |
| 43 | "c:27017": 0.165 |
| 44 | } |
| 45 | } |
| 46 | } |