Skip to content

Commit fc495d5

Browse files
authored
DRIVERS-3128 test secondary with IPv6 literal in SDAM (#1766)
1 parent f04df7d commit fc495d5

File tree

2 files changed

+63
-0
lines changed

2 files changed

+63
-0
lines changed

source/server-discovery-and-monitoring/tests/rs/secondary_ipv6_literal.json

Lines changed: 38 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
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

0 commit comments

Comments
 (0)