@@ -17,7 +17,7 @@ describe('Pool tests', function() {
17
17
Connection . enableConnectionAccounting ( ) ;
18
18
19
19
// Attempt to connect
20
- var pool = new Pool ( {
20
+ var pool = new Pool ( null , {
21
21
host : this . configuration . host ,
22
22
port : this . configuration . port ,
23
23
bson : new Bson ( ) ,
@@ -45,7 +45,7 @@ describe('Pool tests', function() {
45
45
Connection . enableConnectionAccounting ( ) ;
46
46
47
47
// Attempt to connect
48
- var pool = new Pool ( {
48
+ var pool = new Pool ( null , {
49
49
host : this . configuration . host ,
50
50
port : this . configuration . port ,
51
51
bson : new Bson ( )
@@ -85,7 +85,7 @@ describe('Pool tests', function() {
85
85
var index = 0 ;
86
86
87
87
// Attempt to connect
88
- var pool = new Pool ( {
88
+ var pool = new Pool ( null , {
89
89
host : this . configuration . host ,
90
90
port : this . configuration . port ,
91
91
bson : new Bson ( )
@@ -205,7 +205,7 @@ describe('Pool tests', function() {
205
205
this . timeout ( 0 ) ;
206
206
207
207
// Attempt to connect
208
- var pool = new Pool ( {
208
+ var pool = new Pool ( null , {
209
209
host : this . configuration . host ,
210
210
port : this . configuration . port ,
211
211
socketTimeout : 3000 ,
@@ -242,7 +242,7 @@ describe('Pool tests', function() {
242
242
Connection . enableConnectionAccounting ( ) ;
243
243
244
244
// Attempt to connect
245
- var pool = new Pool ( {
245
+ var pool = new Pool ( null , {
246
246
host : this . configuration . host ,
247
247
port : this . configuration . port ,
248
248
socketTimeout : 3000 ,
@@ -300,7 +300,7 @@ describe('Pool tests', function() {
300
300
Connection . enableConnectionAccounting ( ) ;
301
301
302
302
// Attempt to connect
303
- var pool = new Pool ( {
303
+ var pool = new Pool ( null , {
304
304
host : this . configuration . host ,
305
305
port : this . configuration . port ,
306
306
socketTimeout : 3000 ,
@@ -382,7 +382,7 @@ describe('Pool tests', function() {
382
382
Connection . enableConnectionAccounting ( ) ;
383
383
384
384
// Attempt to connect
385
- var pool = new Pool ( {
385
+ var pool = new Pool ( null , {
386
386
host : this . configuration . host ,
387
387
port : this . configuration . port ,
388
388
socketTimeout : 3000 ,
@@ -459,7 +459,7 @@ describe('Pool tests', function() {
459
459
Connection . enableConnectionAccounting ( ) ;
460
460
461
461
// Attempt to connect
462
- var pool = new Pool ( {
462
+ var pool = new Pool ( null , {
463
463
host : this . configuration . host ,
464
464
port : this . configuration . port ,
465
465
socketTimeout : 1000 ,
@@ -526,7 +526,7 @@ describe('Pool tests', function() {
526
526
expect ( createUserRes ) . to . exist ;
527
527
expect ( createUserErr ) . to . be . null ;
528
528
// Attempt to connect
529
- var pool = new Pool ( {
529
+ var pool = new Pool ( null , {
530
530
host : self . configuration . host ,
531
531
port : self . configuration . port ,
532
532
bson : new Bson ( )
@@ -606,7 +606,7 @@ describe('Pool tests', function() {
606
606
expect ( createAdminUserErr ) . to . be . null ;
607
607
608
608
// Attempt to connect
609
- var pool = new Pool ( {
609
+ var pool = new Pool ( null , {
610
610
host : self . configuration . host ,
611
611
port : self . configuration . port ,
612
612
bson : new Bson ( )
@@ -812,7 +812,7 @@ describe('Pool tests', function() {
812
812
expect ( createAdminUserErr ) . to . be . null ;
813
813
814
814
// Attempt to connect
815
- var pool = new Pool ( {
815
+ var pool = new Pool ( null , {
816
816
host : self . configuration . host ,
817
817
port : self . configuration . port ,
818
818
bson : new Bson ( )
@@ -936,7 +936,7 @@ describe('Pool tests', function() {
936
936
expect ( createAdminUserRes ) . to . exist ;
937
937
expect ( createAdminUserErr ) . to . be . null ;
938
938
// Attempt to connect
939
- var pool = new Pool ( {
939
+ var pool = new Pool ( null , {
940
940
host : self . configuration . host ,
941
941
port : self . configuration . port ,
942
942
bson : new Bson ( )
@@ -1030,7 +1030,7 @@ describe('Pool tests', function() {
1030
1030
expect ( createAdminUserRes ) . to . exist ;
1031
1031
1032
1032
// Attempt to connect
1033
- var pool = new Pool ( {
1033
+ var pool = new Pool ( null , {
1034
1034
host : self . configuration . host ,
1035
1035
port : self . configuration . port ,
1036
1036
bson : new Bson ( )
@@ -1098,7 +1098,7 @@ describe('Pool tests', function() {
1098
1098
Connection . enableConnectionAccounting ( ) ;
1099
1099
1100
1100
// Attempt to connect
1101
- var pool = new Pool ( {
1101
+ var pool = new Pool ( null , {
1102
1102
host : this . configuration . host ,
1103
1103
port : this . configuration . port ,
1104
1104
bson : new Bson ( ) ,
0 commit comments