Skip to content

Commit 4cb118d

Browse files
authored
GODRIVER-2993 [v1] SDAM unit test sharded/too_new needs to defined wireVer… (#1780)
1 parent 6fb6d07 commit 4cb118d

File tree

4 files changed

+12
-4
lines changed

4 files changed

+12
-4
lines changed

testdata/server-discovery-and-monitoring/rs/too_old.json

+3-1
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
],

testdata/server-discovery-and-monitoring/rs/too_old.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@ phases: [
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: {

testdata/server-discovery-and-monitoring/sharded/too_new.json

+3-1
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
],

testdata/server-discovery-and-monitoring/sharded/too_new.yml

+3-1
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)