Skip to content

Commit 410dd53

Browse files
committed
Test IPv6 literal in SDAM
Added secondary_ipv6_literal.json test JAVA-5810
1 parent 304f854 commit 410dd53

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
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+
}

0 commit comments

Comments
 (0)