Skip to content

Commit

Permalink
test: sync initial dns seedlist tests (#2818)
Browse files Browse the repository at this point in the history
  • Loading branch information
durran authored May 28, 2021
1 parent d099622 commit eae91b5
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
19 changes: 19 additions & 0 deletions test/spec/initial-dns-seedlist-discovery/dbname-with-commas.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"uri": "mongodb+srv://test1.test.build.10gen.cc/some,db?replicaSet=repl0",
"seeds": [
"test1.test.build.10gen.cc:27017",
"test1.test.build.10gen.cc:27018"
],
"hosts": [
"localhost:27017",
"localhost:27018",
"localhost:27019"
],
"options": {
"replicaSet": "repl0",
"ssl": true
},
"parsed_options": {
"defaultDatabase": "some,db"
}
}
13 changes: 13 additions & 0 deletions test/spec/initial-dns-seedlist-discovery/dbname-with-commas.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
uri: "mongodb+srv://test1.test.build.10gen.cc/some,db?replicaSet=repl0"
seeds:
- test1.test.build.10gen.cc:27017
- test1.test.build.10gen.cc:27018
hosts:
- localhost:27017
- localhost:27018
- localhost:27019
options:
replicaSet: repl0
ssl: true
parsed_options:
defaultDatabase: some,db

0 comments on commit eae91b5

Please sign in to comment.