Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RUST-2175 add IPv6 literal test #1327

Merged
merged 1 commit into from
Mar 11, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{
"description": "Secondary with IPv6 literal",
"uri": "mongodb://[::1]/?replicaSet=rs",
"phases": [
{
"responses": [
[
"[::1]:27017",
{
"ok": 1,
"helloOk": true,
"isWritablePrimary": false,
"secondary": true,
"setName": "rs",
"me": "[::1]:27017",
"hosts": [
"[::1]:27017"
],
"minWireVersion": 0,
"maxWireVersion": 26
}
]
],
"outcome": {
"servers": {
"[::1]:27017": {
"type": "RSSecondary",
"setName": "rs"
}
},
"topologyType": "ReplicaSetNoPrimary",
"setName": "rs",
"logicalSessionTimeoutMinutes": null,
"compatible": true
}
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Regression test for bug discovered in HELP-68823.
description: Secondary with IPv6 literal
uri: mongodb://[::1]/?replicaSet=rs
phases:
- responses:
- - "[::1]:27017"
- ok: 1
helloOk: true
isWritablePrimary: false
secondary: true
setName: rs
me: "[::1]:27017"
hosts:
- "[::1]:27017"
minWireVersion: 0
maxWireVersion: 26
outcome:
servers:
"[::1]:27017":
type: RSSecondary
setName: rs
topologyType: ReplicaSetNoPrimary
setName: rs
logicalSessionTimeoutMinutes: null
compatible: true