@@ -1249,7 +1249,7 @@ describe('Url SRV Parser', function() {
1249
1249
requires : { topology : [ 'single' ] }
1250
1250
} ,
1251
1251
test : function ( done ) {
1252
- parse ( 'mongodb+srv://10gen.cc' , function ( err , object ) {
1252
+ parse ( 'mongodb+srv://10gen.cc' , function ( err ) {
1253
1253
expect ( err ) . to . exist ;
1254
1254
expect ( err . message ) . to . equal ( 'uri does not have hostname, domainname and tld' ) ;
1255
1255
done ( ) ;
@@ -1260,14 +1260,14 @@ describe('Url SRV Parser', function() {
1260
1260
/**
1261
1261
* @ignore
1262
1262
*/
1263
- it . skip ( "should fail because returned host name's parent (build.10gen.cc) misses 'test'" , {
1263
+ it . only ( "should fail because returned host name's parent (build.10gen.cc) misses 'test'" , {
1264
1264
metadata : {
1265
1265
requires : { topology : [ 'single' ] }
1266
1266
} ,
1267
1267
test : function ( done ) {
1268
1268
// TODO it does return 'test'
1269
1269
// test.build.10gen.cc
1270
- parse ( 'mongodb+srv://test13.test.build.10gen.cc' , function ( err , object ) {
1270
+ parse ( 'mongodb+srv://test13.test.build.10gen.cc' , function ( err ) {
1271
1271
expect ( err ) . to . exist ;
1272
1272
expect ( err . message ) . to . equal ( 'srv record does not share hostname with parent uri' ) ;
1273
1273
done ( ) ;
@@ -1283,7 +1283,7 @@ describe('Url SRV Parser', function() {
1283
1283
requires : { topology : [ 'single' ] }
1284
1284
} ,
1285
1285
test : function ( done ) {
1286
- parse ( 'mongodb+srv://test14.test.build.10gen.cc' , function ( err , object ) {
1286
+ parse ( 'mongodb+srv://test14.test.build.10gen.cc' , function ( err ) {
1287
1287
expect ( err ) . to . exist ;
1288
1288
expect ( err . message ) . to . equal ( 'srv record does not share hostname with parent uri' ) ;
1289
1289
done ( ) ;
@@ -1294,12 +1294,12 @@ describe('Url SRV Parser', function() {
1294
1294
/**
1295
1295
* @ignore
1296
1296
*/
1297
- it ( "should fail because returned host name's part 'not-build' mismatches URI parent part 'build'" , {
1297
+ it ( "should fail because returned host name's 'not-build' mismatches URI parent 'build'" , {
1298
1298
metadata : {
1299
1299
requires : { topology : [ 'single' ] }
1300
1300
} ,
1301
1301
test : function ( done ) {
1302
- parse ( 'mongodb+srv://test15.test.build.10gen.cc' , function ( err , object ) {
1302
+ parse ( 'mongodb+srv://test15.test.build.10gen.cc' , function ( err ) {
1303
1303
expect ( err ) . to . exist ;
1304
1304
expect ( err . message ) . to . equal ( 'srv record does not share hostname with parent uri' ) ;
1305
1305
done ( ) ;
@@ -1310,12 +1310,12 @@ describe('Url SRV Parser', function() {
1310
1310
/**
1311
1311
* @ignore
1312
1312
*/
1313
- it ( "Should fail because returned host name's part 'not-10gen' mismatches URI parent part '10gen'" , {
1313
+ it ( "Should fail because returned host name's 'not-10gen' mismatches URI part '10gen'" , {
1314
1314
metadata : {
1315
1315
requires : { topology : [ 'single' ] }
1316
1316
} ,
1317
1317
test : function ( done ) {
1318
- parse ( 'mongodb+srv://test16.test.build.10gen.cc' , function ( err , object ) {
1318
+ parse ( 'mongodb+srv://test16.test.build.10gen.cc' , function ( err ) {
1319
1319
expect ( err ) . to . exist ;
1320
1320
expect ( err . message ) . to . equal ( 'srv record does not share hostname with parent uri' ) ;
1321
1321
done ( ) ;
@@ -1331,7 +1331,7 @@ describe('Url SRV Parser', function() {
1331
1331
requires : { topology : [ 'single' ] }
1332
1332
} ,
1333
1333
test : function ( done ) {
1334
- parse ( 'mongodb+srv://test17.test.build.10gen.cc' , function ( err , object ) {
1334
+ parse ( 'mongodb+srv://test17.test.build.10gen.cc' , function ( err ) {
1335
1335
expect ( err ) . to . exist ;
1336
1336
expect ( err . message ) . to . equal ( 'srv record does not share hostname with parent uri' ) ;
1337
1337
done ( ) ;
@@ -1347,7 +1347,7 @@ describe('Url SRV Parser', function() {
1347
1347
requires : { topology : [ 'single' ] }
1348
1348
} ,
1349
1349
test : function ( done ) {
1350
- parse ( 'mongodb+srv://test18.test.build.10gen.cc' , function ( err , object ) {
1350
+ parse ( 'mongodb+srv://test18.test.build.10gen.cc' , function ( err ) {
1351
1351
expect ( err ) . to . be . null ;
1352
1352
done ( ) ;
1353
1353
} ) ;
0 commit comments