Skip to content

Commit 004c871

Browse files
committed
RUBY-1096 Don't refer to localhost:27017 in SDAM test, as there probably is a server running on that host:port
1 parent dc53a07 commit 004c871

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

spec/support/sdam/rs/primary_mismatched_me.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
},
1919
"responses": [
2020
[
21-
"localhost:27017",
21+
"lhost:27017",
2222
{
2323
"me": "a:27017",
2424
"hosts": [
@@ -33,5 +33,5 @@
3333
]
3434
}
3535
],
36-
"uri": "mongodb://localhost:27017/?replicaSet=rs"
36+
"uri": "mongodb://lhost:27017/?replicaSet=rs"
3737
}

spec/support/sdam/rs/secondary_mismatched_me.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
},
1919
"responses": [
2020
[
21-
"localhost:27017",
21+
"lhost:27017",
2222
{
2323
"me": "a:27017",
2424
"hosts": [
@@ -33,5 +33,5 @@
3333
]
3434
}
3535
],
36-
"uri": "mongodb://localhost:27017/?replicaSet=rs"
36+
"uri": "mongodb://lhost:27017/?replicaSet=rs"
3737
}

0 commit comments

Comments
 (0)