Skip to content

Commit

Permalink
RUBY-3330 sync sdam specs for too_old/too_new (#2900)
Browse files Browse the repository at this point in the history
  • Loading branch information
jamis authored Oct 14, 2024
1 parent d6b17d6 commit a8fa54e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
6 changes: 4 additions & 2 deletions spec/spec_tests/data/sdam/rs/too_old.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,17 @@ phases: [
setName: "rs",
hosts: ["a:27017", "b:27017"],
minWireVersion: 0,
maxWireVersion: 6
maxWireVersion: 21
}],
["b:27017", {
ok: 1,
helloOk: true,
isWritablePrimary: false,
secondary: true,
setName: "rs",
hosts: ["a:27017", "b:27017"]
hosts: ["a:27017", "b:27017"],
minWireVersion: 999,
maxWireVersion: 1000
}]
],
outcome: {
Expand Down
4 changes: 3 additions & 1 deletion spec/spec_tests/data/sdam/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 a8fa54e

Please sign in to comment.