Skip to content

Commit

Permalink
GODRIVER-2993 [v1] SDAM unit test sharded/too_new needs to defined wi…
Browse files Browse the repository at this point in the history
…reVer… (#1780)
  • Loading branch information
joyjwang committed Aug 30, 2024
1 parent 6fb6d07 commit 4cb118d
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 4 deletions.
4 changes: 3 additions & 1 deletion testdata/server-discovery-and-monitoring/rs/too_old.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@
"hosts": [
"a:27017",
"b:27017"
]
],
"minWireVersion": 999,
"maxWireVersion": 1000
}
]
],
Expand Down
4 changes: 3 additions & 1 deletion testdata/server-discovery-and-monitoring/rs/too_old.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@
"ok": 1,
"helloOk": true,
"isWritablePrimary": true,
"msg": "isdbgrid"
"msg": "isdbgrid",
"minWireVersion": 7,
"maxWireVersion": 900
}
]
],
Expand Down
4 changes: 3 additions & 1 deletion testdata/server-discovery-and-monitoring/sharded/too_new.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ phases: [
ok: 1,
helloOk: true,
isWritablePrimary: true,
msg: "isdbgrid"
msg: "isdbgrid",
minWireVersion: 7,
maxWireVersion: 900
}]
],
outcome: {
Expand Down

0 comments on commit 4cb118d

Please sign in to comment.