@@ -95,7 +95,7 @@ describe('MongoCluster', function () {
9595 tmpDir,
9696 } ) ;
9797 expect ( cluster . connectionString ) . to . be . a ( 'string' ) ;
98- expect ( cluster . serverVersion ) . to . match ( / ^ 6 \. / ) ;
98+ expect ( cluster . serverVersion ) . to . match ( / ^ 8 \. / ) ;
9999 expect ( cluster . serverVariant ) . to . equal ( 'community' ) ;
100100 const { ok } = await cluster . withClient ( async ( client ) => {
101101 return await client . db ( 'admin' ) . command ( { ping : 1 } ) ;
@@ -120,7 +120,7 @@ describe('MongoCluster', function () {
120120 tmpDir,
121121 } ) ;
122122 expect ( cluster . connectionString ) . to . be . a ( 'string' ) ;
123- expect ( cluster . serverVersion ) . to . match ( / ^ 6 \. / ) ;
123+ expect ( cluster . serverVersion ) . to . match ( / ^ 8 \. / ) ;
124124 const hello = await cluster . withClient ( async ( client ) => {
125125 return await client . db ( 'admin' ) . command ( { hello : 1 } ) ;
126126 } ) ;
@@ -136,7 +136,7 @@ describe('MongoCluster', function () {
136136 arbiters : 1 ,
137137 } ) ;
138138 expect ( cluster . connectionString ) . to . be . a ( 'string' ) ;
139- expect ( cluster . serverVersion ) . to . match ( / ^ 6 \. / ) ;
139+ expect ( cluster . serverVersion ) . to . match ( / ^ 8 \. / ) ;
140140 const hello = await cluster . withClient ( async ( client ) => {
141141 return await client . db ( 'admin' ) . command ( { hello : 1 } ) ;
142142 } ) ;
@@ -156,7 +156,7 @@ describe('MongoCluster', function () {
156156 logDir,
157157 } ) ;
158158 expect ( cluster . connectionString ) . to . be . a ( 'string' ) ;
159- expect ( cluster . serverVersion ) . to . match ( / ^ 6 \. / ) ;
159+ expect ( cluster . serverVersion ) . to . match ( / ^ 8 \. / ) ;
160160 const hello = await cluster . withClient ( async ( client ) => {
161161 return await client . db ( 'admin' ) . command ( { hello : 1 } ) ;
162162 } ) ;
@@ -186,7 +186,7 @@ describe('MongoCluster', function () {
186186 ] ,
187187 } ) ;
188188 expect ( cluster . connectionString ) . to . be . a ( 'string' ) ;
189- expect ( cluster . serverVersion ) . to . match ( / ^ 6 \. / ) ;
189+ expect ( cluster . serverVersion ) . to . match ( / ^ 8 \. / ) ;
190190 expect ( cluster . serverVariant ) . to . equal ( 'community' ) ;
191191 } ) ;
192192
@@ -373,7 +373,7 @@ describe('MongoCluster', function () {
373373 } ) ;
374374
375375 expect ( cluster . connectionString ) . to . be . a ( 'string' ) ;
376- expect ( cluster . serverVersion ) . to . match ( / ^ 6 \. / ) ;
376+ expect ( cluster . serverVersion ) . to . match ( / ^ 8 \. / ) ;
377377 const hello = await cluster . withClient ( async ( client ) => {
378378 return await client . db ( 'admin' ) . command ( { hello : 1 } ) ;
379379 } ) ;
@@ -416,7 +416,7 @@ describe('MongoCluster', function () {
416416 } ) ;
417417
418418 expect ( cluster . connectionString ) . to . be . a ( 'string' ) ;
419- expect ( cluster . serverVersion ) . to . match ( / ^ 6 \. / ) ;
419+ expect ( cluster . serverVersion ) . to . match ( / ^ 8 \. / ) ;
420420
421421 const shards = cluster [ 'shards' ] ;
422422 expect ( shards ) . to . have . lengthOf ( 2 ) ;
@@ -457,7 +457,7 @@ describe('MongoCluster', function () {
457457 } ) ;
458458
459459 expect ( cluster . connectionString ) . to . be . a ( 'string' ) ;
460- expect ( cluster . serverVersion ) . to . match ( / ^ 6 \. / ) ;
460+ expect ( cluster . serverVersion ) . to . match ( / ^ 8 \. / ) ;
461461
462462 const mongoses = cluster [ 'servers' ] ;
463463 expect ( mongoses ) . to . have . lengthOf ( 2 ) ;
@@ -513,7 +513,7 @@ describe('MongoCluster', function () {
513513 mongosArgs : [ [ ] , [ ] ] ,
514514 } ) ;
515515 expect ( cluster . connectionString ) . to . be . a ( 'string' ) ;
516- expect ( cluster . serverVersion ) . to . match ( / ^ 6 \. / ) ;
516+ expect ( cluster . serverVersion ) . to . match ( / ^ 8 \. / ) ;
517517 expect ( cluster . connectionString ) . to . include ( 'testuser:testpass@' ) ;
518518 await cluster . withClient ( async ( client ) => {
519519 const result = await client
0 commit comments