Skip to content

Commit c31092e

Browse files
committed
fixed sni test
1 parent 5d2b36c commit c31092e

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
"dependencies": {
1616
"es6-promise": "3.2.1",
1717
"mongodb-core": "2.0.13",
18+
"mongodb-core": "christkv/mongodb-core#2.0",
1819
"readable-stream": "2.1.5"
1920
},
2021
"devDependencies": {

test/functional/sni_tests.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ exports['Should correct connect to snitest1.10gen.cc'] = {
1212

1313
// Let's write the actual connection code
1414
MongoClient.connect("mongodb://snitest2.mongodb.com:27777/?ssl=true", {
15-
servername: 'snitest1.10gen.cc',
15+
// servername: 'snitest1.10gen.cc',
1616
}, function(err, db) {
1717
test.equal(null, err);
1818
db.close();
@@ -33,7 +33,7 @@ exports['Should correct connect to snitest2.mongodb.com'] = {
3333

3434
// Let's write the actual connection code
3535
MongoClient.connect("mongodb://snitest2.mongodb.com:27777/?ssl=true", {
36-
servername: 'snitest2.mongodb.com',
36+
// servername: 'snitest2.mongodb.com',
3737
}, function(err, db) {
3838
test.equal(null, err);
3939
db.close();

0 commit comments

Comments
 (0)