File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -125,6 +125,7 @@ class MultiServerClusterSpecification extends Specification {
125
125
then :
126
126
getClusterDescription(cluster). type == ReplicaSet
127
127
getClusterDescription(cluster). all == getServerDescriptions(firstServer, secondServer)
128
+ getClusterDescription(cluster). getByServerAddress(secondServer). getType() == ReplicaSetOther
128
129
}
129
130
130
131
def ' should ignore a host without a replica set name when type is replica set' () {
@@ -139,6 +140,7 @@ class MultiServerClusterSpecification extends Specification {
139
140
then :
140
141
getClusterDescription(cluster). type == ReplicaSet
141
142
getClusterDescription(cluster). all == getServerDescriptions(firstServer, secondServer)
143
+ getClusterDescription(cluster). getByServerAddress(secondServer). getType() == ReplicaSetOther
142
144
}
143
145
144
146
def ' should remove a server of the wrong type when type is sharded' () {
You can’t perform that action at this time.
0 commit comments