diff --git a/source/server-discovery-and-monitoring/server-discovery-and-monitoring.md b/source/server-discovery-and-monitoring/server-discovery-and-monitoring.md index 0be74347dd..e0c89e67f5 100644 --- a/source/server-discovery-and-monitoring/server-discovery-and-monitoring.md +++ b/source/server-discovery-and-monitoring/server-discovery-and-monitoring.md @@ -1888,6 +1888,8 @@ oversaw the specification process. ## Changelog +- 2024-08-16: Updated host b wire versions in `too_new` and `too_old` tests + - 2024-08-09: Updated wire versions in tests to 4.0+. - 2024-05-08: Migrated from reStructuredText to Markdown. diff --git a/source/server-discovery-and-monitoring/tests/rs/too_old.json b/source/server-discovery-and-monitoring/tests/rs/too_old.json index 8100a663f5..dc8a5b2b9c 100644 --- a/source/server-discovery-and-monitoring/tests/rs/too_old.json +++ b/source/server-discovery-and-monitoring/tests/rs/too_old.json @@ -30,7 +30,9 @@ "hosts": [ "a:27017", "b:27017" - ] + ], + "minWireVersion": 999, + "maxWireVersion": 1000 } ] ], diff --git a/source/server-discovery-and-monitoring/tests/rs/too_old.yml b/source/server-discovery-and-monitoring/tests/rs/too_old.yml index 1fe611fbb9..f4d4bd8b55 100644 --- a/source/server-discovery-and-monitoring/tests/rs/too_old.yml +++ b/source/server-discovery-and-monitoring/tests/rs/too_old.yml @@ -18,7 +18,9 @@ phases: [ isWritablePrimary: false, secondary: true, setName: "rs", - hosts: ["a:27017", "b:27017"] + hosts: ["a:27017", "b:27017"], + minWireVersion: 999, + maxWireVersion: 1000 }] ], outcome: { diff --git a/source/server-discovery-and-monitoring/tests/sharded/too_new.json b/source/server-discovery-and-monitoring/tests/sharded/too_new.json index 4b997d2163..c4e984ddec 100644 --- a/source/server-discovery-and-monitoring/tests/sharded/too_new.json +++ b/source/server-discovery-and-monitoring/tests/sharded/too_new.json @@ -21,7 +21,9 @@ "ok": 1, "helloOk": true, "isWritablePrimary": true, - "msg": "isdbgrid" + "msg": "isdbgrid", + "minWireVersion": 7, + "maxWireVersion": 900 } ] ], diff --git a/source/server-discovery-and-monitoring/tests/sharded/too_new.yml b/source/server-discovery-and-monitoring/tests/sharded/too_new.yml index 7d59cb4305..03032a4948 100644 --- a/source/server-discovery-and-monitoring/tests/sharded/too_new.yml +++ b/source/server-discovery-and-monitoring/tests/sharded/too_new.yml @@ -15,7 +15,9 @@ phases: [ ok: 1, helloOk: true, isWritablePrimary: true, - msg: "isdbgrid" + msg: "isdbgrid", + minWireVersion: 7, + maxWireVersion: 900 }] ], outcome: {