Skip to content

Commit 649258b

Browse files
authored
GODRIVER-2312 Update and unskip initial DNS seedlist discovery spec tests. (#861)
1 parent a2b9ada commit 649258b

14 files changed

+37
-42
lines changed

data/initial-dns-seedlist-discovery/load-balanced/loadBalanced-directConnection.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
2-
"uri": "mongodb+srv://test20.test.build.10gen.cc/?directConnection=false",
2+
"uri": "mongodb+srv://test24.test.build.10gen.cc/?directConnection=false",
33
"seeds": [
4-
"localhost.test.build.10gen.cc:27017"
4+
"localhost.test.build.10gen.cc:8000"
55
],
66
"hosts": [
7-
"localhost.test.build.10gen.cc:27017"
7+
"localhost.test.build.10gen.cc:8000"
88
],
99
"options": {
1010
"loadBalanced": true,

data/initial-dns-seedlist-discovery/load-balanced/loadBalanced-directConnection.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
# The TXT record for test20.test.build.10gen.cc contains loadBalanced=true.
1+
# The TXT record for test24.test.build.10gen.cc contains loadBalanced=true.
22
# DRIVERS-1721 introduced this test as passing.
3-
uri: "mongodb+srv://test20.test.build.10gen.cc/?directConnection=false"
3+
uri: "mongodb+srv://test24.test.build.10gen.cc/?directConnection=false"
44
seeds:
5-
- localhost.test.build.10gen.cc:27017
5+
- localhost.test.build.10gen.cc:8000
66
hosts:
77
# In LB mode, the driver does not do server discovery, so the hostname does
8-
# not get resolved to localhost:27017.
9-
- localhost.test.build.10gen.cc:27017
8+
# not get resolved to localhost:8000.
9+
- localhost.test.build.10gen.cc:8000
1010
options:
1111
loadBalanced: true
1212
ssl: true

data/initial-dns-seedlist-discovery/load-balanced/loadBalanced-replicaSet-errors.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"uri": "mongodb+srv://test20.test.build.10gen.cc/?replicaSet=replset",
2+
"uri": "mongodb+srv://test24.test.build.10gen.cc/?replicaSet=replset",
33
"seeds": [],
44
"hosts": [],
55
"error": true,

data/initial-dns-seedlist-discovery/load-balanced/loadBalanced-replicaSet-errors.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# The TXT record for test20.test.build.10gen.cc contains loadBalanced=true.
2-
uri: "mongodb+srv://test20.test.build.10gen.cc/?replicaSet=replset"
1+
# The TXT record for test24.test.build.10gen.cc contains loadBalanced=true.
2+
uri: "mongodb+srv://test24.test.build.10gen.cc/?replicaSet=replset"
33
seeds: []
44
hosts: []
55
error: true

data/initial-dns-seedlist-discovery/load-balanced/loadBalanced-true-txt.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
2-
"uri": "mongodb+srv://test20.test.build.10gen.cc/",
2+
"uri": "mongodb+srv://test24.test.build.10gen.cc/",
33
"seeds": [
4-
"localhost.test.build.10gen.cc:27017"
4+
"localhost.test.build.10gen.cc:8000"
55
],
66
"hosts": [
7-
"localhost.test.build.10gen.cc:27017"
7+
"localhost.test.build.10gen.cc:8000"
88
],
99
"options": {
1010
"loadBalanced": true,
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
uri: "mongodb+srv://test20.test.build.10gen.cc/"
1+
uri: "mongodb+srv://test24.test.build.10gen.cc/"
22
seeds:
3-
- localhost.test.build.10gen.cc:27017
3+
- localhost.test.build.10gen.cc:8000
44
hosts:
55
# In LB mode, the driver does not do server discovery, so the hostname does
6-
# not get resolved to localhost:27017.
7-
- localhost.test.build.10gen.cc:27017
6+
# not get resolved to localhost:8000.
7+
- localhost.test.build.10gen.cc:8000
88
options:
99
loadBalanced: true
1010
ssl: true

data/initial-dns-seedlist-discovery/load-balanced/srvMaxHosts-conflicts_with_loadBalanced-true-txt.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"uri": "mongodb+srv://test20.test.build.10gen.cc/?srvMaxHosts=1",
2+
"uri": "mongodb+srv://test24.test.build.10gen.cc/?srvMaxHosts=1",
33
"seeds": [],
44
"hosts": [],
55
"error": true,

data/initial-dns-seedlist-discovery/load-balanced/srvMaxHosts-conflicts_with_loadBalanced-true-txt.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
uri: "mongodb+srv://test20.test.build.10gen.cc/?srvMaxHosts=1"
1+
uri: "mongodb+srv://test24.test.build.10gen.cc/?srvMaxHosts=1"
22
seeds: []
33
hosts: []
44
error: true

data/initial-dns-seedlist-discovery/load-balanced/srvMaxHosts-zero-txt.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
2-
"uri": "mongodb+srv://test20.test.build.10gen.cc/?srvMaxHosts=0",
2+
"uri": "mongodb+srv://test24.test.build.10gen.cc/?srvMaxHosts=0",
33
"seeds": [
4-
"localhost.test.build.10gen.cc:27017"
4+
"localhost.test.build.10gen.cc:8000"
55
],
66
"hosts": [
7-
"localhost.test.build.10gen.cc:27017"
7+
"localhost.test.build.10gen.cc:8000"
88
],
99
"options": {
1010
"loadBalanced": true,

data/initial-dns-seedlist-discovery/load-balanced/srvMaxHosts-zero-txt.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# loadBalanced=true (TXT) is permitted because srvMaxHosts is non-positive
2-
uri: "mongodb+srv://test20.test.build.10gen.cc/?srvMaxHosts=0"
2+
uri: "mongodb+srv://test24.test.build.10gen.cc/?srvMaxHosts=0"
33
seeds:
4-
- localhost.test.build.10gen.cc:27017
4+
- localhost.test.build.10gen.cc:8000
55
hosts:
6-
- localhost.test.build.10gen.cc:27017
6+
- localhost.test.build.10gen.cc:8000
77
options:
88
loadBalanced: true
99
srvMaxHosts: 0

0 commit comments

Comments
 (0)