@@ -14,7 +14,7 @@ const Connection = core.Connection;
14
14
15
15
describe ( 'Server tests' , function ( ) {
16
16
it ( 'should correctly connect server to single instance' , {
17
- metadata : { requires : { topology : 'single' } } ,
17
+ metadata : { requires : { topology : 'single' , ssl : false } } ,
18
18
19
19
test : function ( done ) {
20
20
const config = this . configuration ;
@@ -34,7 +34,7 @@ describe('Server tests', function() {
34
34
} ) ;
35
35
36
36
it ( 'should correctly connect server to single instance and execute ismaster' , {
37
- metadata : { requires : { topology : 'single' } } ,
37
+ metadata : { requires : { topology : 'single' , ssl : false } } ,
38
38
39
39
test : function ( done ) {
40
40
const config = this . configuration ;
@@ -60,7 +60,7 @@ describe('Server tests', function() {
60
60
} ) ;
61
61
62
62
it ( 'should correctly connect server to single instance and execute ismaster returning raw' , {
63
- metadata : { requires : { topology : 'single' } } ,
63
+ metadata : { requires : { topology : 'single' , ssl : false } } ,
64
64
65
65
test : function ( done ) {
66
66
const config = this . configuration ;
@@ -93,7 +93,7 @@ describe('Server tests', function() {
93
93
} ) ;
94
94
95
95
it ( 'should correctly connect server to single instance and execute insert' , {
96
- metadata : { requires : { topology : 'single' } } ,
96
+ metadata : { requires : { topology : 'single' , ssl : false } } ,
97
97
98
98
test : function ( done ) {
99
99
const config = this . configuration ;
@@ -128,7 +128,7 @@ describe('Server tests', function() {
128
128
it (
129
129
'should correctly connect server to single instance and send an uncompressed message if an uncompressible command is specified' ,
130
130
{
131
- metadata : { requires : { topology : 'single' } } ,
131
+ metadata : { requires : { topology : 'single' , ssl : false } } ,
132
132
133
133
test : function ( done ) {
134
134
const config = this . configuration ;
@@ -163,7 +163,7 @@ describe('Server tests', function() {
163
163
) ;
164
164
165
165
it ( 'should correctly connect server to single instance and execute bulk insert' , {
166
- metadata : { requires : { topology : 'single' } } ,
166
+ metadata : { requires : { topology : 'single' , ssl : false } } ,
167
167
168
168
test : function ( done ) {
169
169
const config = this . configuration ;
@@ -201,7 +201,7 @@ describe('Server tests', function() {
201
201
} ) ;
202
202
203
203
it ( 'should correctly connect server to single instance and execute insert with w:0' , {
204
- metadata : { requires : { topology : 'single' } } ,
204
+ metadata : { requires : { topology : 'single' , ssl : false } } ,
205
205
206
206
test : function ( done ) {
207
207
const config = this . configuration ;
@@ -239,7 +239,7 @@ describe('Server tests', function() {
239
239
} ) ;
240
240
241
241
it ( 'should correctly connect server to single instance and execute update' , {
242
- metadata : { requires : { topology : 'single' } } ,
242
+ metadata : { requires : { topology : 'single' , ssl : false } } ,
243
243
244
244
test : function ( done ) {
245
245
const config = this . configuration ;
@@ -278,7 +278,7 @@ describe('Server tests', function() {
278
278
} ) ;
279
279
280
280
it ( 'should correctly connect server to single instance and execute remove' , {
281
- metadata : { requires : { topology : 'single' } } ,
281
+ metadata : { requires : { topology : 'single' , ssl : false } } ,
282
282
283
283
test : function ( done ) {
284
284
const config = this . configuration ;
@@ -318,7 +318,7 @@ describe('Server tests', function() {
318
318
// Skipped due to use of topology manager
319
319
it . skip ( 'should correctly recover with multiple restarts' , {
320
320
metadata : {
321
- requires : { topology : [ 'single' ] }
321
+ requires : { topology : 'single' , ssl : false }
322
322
} ,
323
323
324
324
// The actual test we wish to run
@@ -404,7 +404,7 @@ describe('Server tests', function() {
404
404
} ) ;
405
405
406
406
it ( 'should correctly reconnect to server with automatic reconnect enabled' , {
407
- metadata : { requires : { topology : 'single' } } ,
407
+ metadata : { requires : { topology : 'single' , ssl : false } } ,
408
408
test : function ( done ) {
409
409
const config = this . configuration ;
410
410
if ( config . usingUnifiedTopology ( ) ) {
@@ -475,12 +475,7 @@ describe('Server tests', function() {
475
475
} ) ;
476
476
477
477
it ( 'should correctly reconnect to server with automatic reconnect disabled' , {
478
- metadata : {
479
- requires : {
480
- topology : 'single'
481
- }
482
- // ignore: { travis:true }
483
- } ,
478
+ metadata : { requires : { topology : 'single' , ssl : false } } ,
484
479
485
480
test : function ( done ) {
486
481
const config = this . configuration ;
@@ -545,12 +540,7 @@ describe('Server tests', function() {
545
540
} ) ;
546
541
547
542
it ( 'should reconnect when initial connection failed' , {
548
- metadata : {
549
- requires : {
550
- topology : 'single'
551
- } ,
552
- ignore : { travis : true }
553
- } ,
543
+ metadata : { requires : { topology : 'single' , ssl : false } } ,
554
544
555
545
test : function ( done ) {
556
546
const config = this . configuration ;
@@ -587,7 +577,7 @@ describe('Server tests', function() {
587
577
} ) ;
588
578
589
579
it ( 'should correctly place new connections in available list on reconnect' , {
590
- metadata : { requires : { topology : 'single' } } ,
580
+ metadata : { requires : { topology : 'single' , ssl : false } } ,
591
581
test : function ( done ) {
592
582
const config = this . configuration ;
593
583
if ( config . usingUnifiedTopology ( ) ) {
@@ -653,12 +643,7 @@ describe('Server tests', function() {
653
643
} ) ;
654
644
655
645
it ( 'should not overflow the poolSize due to concurrent operations' , {
656
- metadata : {
657
- requires : {
658
- topology : 'single'
659
- } ,
660
- ignore : { travis : true }
661
- } ,
646
+ metadata : { requires : { topology : 'single' , ssl : false } } ,
662
647
663
648
test : function ( done ) {
664
649
var self = this ;
@@ -708,7 +693,8 @@ describe('Server tests', function() {
708
693
metadata : {
709
694
requires : {
710
695
node : '>0.8.0' ,
711
- topology : [ 'single' , 'ssl' , 'wiredtiger' ]
696
+ topology : 'single' ,
697
+ ssl : false
712
698
}
713
699
} ,
714
700
@@ -780,7 +766,7 @@ describe('Server tests', function() {
780
766
} ) ;
781
767
782
768
it ( 'should error when invalid compressors are specified' , {
783
- metadata : { requires : { topology : 'single' } } ,
769
+ metadata : { requires : { topology : 'single' , ssl : false } } ,
784
770
785
771
test : function ( done ) {
786
772
const config = this . configuration ;
@@ -934,7 +920,7 @@ describe('Server tests', function() {
934
920
it (
935
921
'should correctly connect server to single instance and execute insert with snappy compression' ,
936
922
{
937
- metadata : { requires : { topology : [ 'single' ] , mongodb : '>=3.5.x' } } ,
923
+ metadata : { requires : { topology : 'single' , mongodb : '>=3.5.x' , ssl : false } } ,
938
924
939
925
test : function ( done ) {
940
926
const config = this . configuration ;
@@ -1021,7 +1007,7 @@ describe('Server tests', function() {
1021
1007
1022
1008
// NOTE: skipped for flakiness
1023
1009
it . skip ( 'Should not try to reconnect forever if reconnectTries = 0' , {
1024
- metadata : { requires : { topology : 'single' } } ,
1010
+ metadata : { requires : { topology : 'single' , ssl : false } } ,
1025
1011
1026
1012
test : function ( done ) {
1027
1013
const config = this . configuration ;
0 commit comments