Skip to content

Commit 9d3b503

Browse files
authored
PYTHON-3967 SDAM unit test sharded/too_new needs to defined wireVersions for host b (mongodb#1817)
1 parent e430d2e commit 9d3b503

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

test/discovery_and_monitoring/rs/too_old.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,9 @@
3030
"hosts": [
3131
"a:27017",
3232
"b:27017"
33-
]
33+
],
34+
"minWireVersion": 999,
35+
"maxWireVersion": 1000
3436
}
3537
]
3638
],

test/discovery_and_monitoring/sharded/too_new.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@
2121
"ok": 1,
2222
"helloOk": true,
2323
"isWritablePrimary": true,
24-
"msg": "isdbgrid"
24+
"msg": "isdbgrid",
25+
"minWireVersion": 7,
26+
"maxWireVersion": 900
2527
}
2628
]
2729
],

0 commit comments

Comments
 (0)