Skip to content

Commit a8fa54e

Browse files
authored
RUBY-3330 sync sdam specs for too_old/too_new (#2900)
1 parent d6b17d6 commit a8fa54e

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

spec/spec_tests/data/sdam/rs/too_old.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,17 @@ phases: [
1010
setName: "rs",
1111
hosts: ["a:27017", "b:27017"],
1212
minWireVersion: 0,
13-
maxWireVersion: 6
13+
maxWireVersion: 21
1414
}],
1515
["b:27017", {
1616
ok: 1,
1717
helloOk: true,
1818
isWritablePrimary: false,
1919
secondary: true,
2020
setName: "rs",
21-
hosts: ["a:27017", "b:27017"]
21+
hosts: ["a:27017", "b:27017"],
22+
minWireVersion: 999,
23+
maxWireVersion: 1000
2224
}]
2325
],
2426
outcome: {

spec/spec_tests/data/sdam/sharded/too_new.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@ phases: [
1515
ok: 1,
1616
helloOk: true,
1717
isWritablePrimary: true,
18-
msg: "isdbgrid"
18+
msg: "isdbgrid",
19+
minWireVersion: 7,
20+
maxWireVersion: 900
1921
}]
2022
],
2123
outcome: {

0 commit comments

Comments
 (0)