File tree 2 files changed +63
-0
lines changed
test/spec/server-discovery-and-monitoring/rs
2 files changed +63
-0
lines changed Original file line number Diff line number Diff line change
1
+ {
2
+ "description" : " Secondary with IPv6 literal" ,
3
+ "uri" : " mongodb://[::1]/?replicaSet=rs" ,
4
+ "phases" : [
5
+ {
6
+ "responses" : [
7
+ [
8
+ " [::1]:27017" ,
9
+ {
10
+ "ok" : 1 ,
11
+ "helloOk" : true ,
12
+ "isWritablePrimary" : false ,
13
+ "secondary" : true ,
14
+ "setName" : " rs" ,
15
+ "me" : " [::1]:27017" ,
16
+ "hosts" : [
17
+ " [::1]:27017"
18
+ ],
19
+ "minWireVersion" : 0 ,
20
+ "maxWireVersion" : 26
21
+ }
22
+ ]
23
+ ],
24
+ "outcome" : {
25
+ "servers" : {
26
+ "[::1]:27017" : {
27
+ "type" : " RSSecondary" ,
28
+ "setName" : " rs"
29
+ }
30
+ },
31
+ "topologyType" : " ReplicaSetNoPrimary" ,
32
+ "setName" : " rs" ,
33
+ "logicalSessionTimeoutMinutes" : null ,
34
+ "compatible" : true
35
+ }
36
+ }
37
+ ]
38
+ }
Original file line number Diff line number Diff line change
1
+ # Regression test for bug discovered in HELP-68823.
2
+ description : Secondary with IPv6 literal
3
+ uri : mongodb://[::1]/?replicaSet=rs
4
+ phases :
5
+ - responses :
6
+ - - "[::1]:27017"
7
+ - ok : 1
8
+ helloOk : true
9
+ isWritablePrimary : false
10
+ secondary : true
11
+ setName : rs
12
+ me : " [::1]:27017"
13
+ hosts :
14
+ - " [::1]:27017"
15
+ minWireVersion : 0
16
+ maxWireVersion : 26
17
+ outcome :
18
+ servers :
19
+ " [::1]:27017 " :
20
+ type : RSSecondary
21
+ setName : rs
22
+ topologyType : ReplicaSetNoPrimary
23
+ setName : rs
24
+ logicalSessionTimeoutMinutes : null
25
+ compatible : true
You can’t perform that action at this time.
0 commit comments