@@ -148,10 +148,10 @@ describe('Retryable Reads Spec Prose', () => {
148148 // for SystemOverloadedError errors.
149149
150150 const TEST_METADATA : MongoDBMetadataUI = {
151- requires : { mongodb : '>=4.2 ' , topology : 'replicaset' }
151+ requires : { mongodb : '>=4.4 ' , topology : 'replicaset' }
152152 } ;
153153
154- describe . only ( 'Retryable Reads Caused by Overload Errors Are Retried on a Different Server' , ( ) => {
154+ describe ( 'Retryable Reads Caused by Overload Errors Are Retried on a Different Server' , ( ) => {
155155 let client : MongoClient ;
156156 const commandFailedEvents : CommandFailedEvent [ ] = [ ] ;
157157 const commandSucceededEvents : CommandSucceededEvent [ ] = [ ] ;
@@ -190,15 +190,6 @@ describe('Retryable Reads Spec Prose', () => {
190190 it ( 'retries on a different server when SystemOverloadedError' , TEST_METADATA , async ( ) => {
191191 await client . db ( 'test' ) . collection ( 'test' ) . find ( ) . toArray ( ) ;
192192
193- console . log ( 'failed event:' , {
194- address : commandFailedEvents [ 0 ] . address ,
195- failure : {
196- name : commandFailedEvents [ 0 ] . failure . name ,
197- code : ( commandFailedEvents [ 0 ] . failure as any ) . code ,
198- labels : ( commandFailedEvents [ 0 ] . failure as any ) . errorLabels
199- }
200- } ) ;
201-
202193 expect ( commandFailedEvents ) . to . have . lengthOf ( 1 ) ;
203194 expect ( commandSucceededEvents ) . to . have . lengthOf ( 1 ) ;
204195 expect ( commandFailedEvents [ 0 ] . address ) . to . not . equal ( commandSucceededEvents [ 0 ] . address ) ;
0 commit comments