Skip to content

Commit a3b6cf4

Browse files
committed
Resync SDAM tests to only examine non-unknown server descriptions to determine incompatibility
GODRIVER-841 Change-Id: I0c0081b76fcf215c8a4e1783a0fcbf52ac9afd46
1 parent 1ec1223 commit a3b6cf4

File tree

2 files changed

+2
-9
lines changed

2 files changed

+2
-9
lines changed

data/server-discovery-and-monitoring/rs/incompatible_ghost.json

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,6 @@
2323
{
2424
"ok": 1,
2525
"isreplicaset": true,
26-
"setName": "rs",
27-
"hosts": [
28-
"a:27017",
29-
"b:27017"
30-
],
3126
"minWireVersion": 0,
3227
"maxWireVersion": 1
3328
}
@@ -41,7 +36,7 @@
4136
},
4237
"b:27017": {
4338
"type": "RSGhost",
44-
"setName": "rs"
39+
"setName": null
4540
}
4641
},
4742
"topologyType": "ReplicaSetWithPrimary",

data/server-discovery-and-monitoring/rs/incompatible_ghost.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@ phases:
1414
- "b:27017"
1515
- ok: 1
1616
isreplicaset: true
17-
setName: "rs"
18-
hosts: ["a:27017", "b:27017"]
1917
minWireVersion: 0
2018
maxWireVersion: 1
2119
outcome:
@@ -25,7 +23,7 @@ phases:
2523
setName: "rs"
2624
"b:27017":
2725
type: "RSGhost"
28-
setName: "rs"
26+
setName:
2927
topologyType: "ReplicaSetWithPrimary"
3028
setName: "rs"
3129
logicalSessionTimeoutMinutes: ~

0 commit comments

Comments
 (0)