@@ -125,10 +125,10 @@ describe('Client Backpressure (Prose)', function () {
125125 // 4. Perform a find operation with `coll` that fails.
126126 const error = await collection . findOne ( { } ) . catch ( e => e ) ;
127127
128- // 5. Assert that the raised error contains both the `RetryableError` and `SystemOverLoadedError ` error labels.
128+ // 5. Assert that the raised error contains both the `RetryableError` and `SystemOverloadedError ` error labels.
129129 expect ( error ) . to . be . instanceof ( MongoServerError ) ;
130130 expect ( error . hasErrorLabel ( 'RetryableError' ) ) . to . be . true ;
131- expect ( error . hasErrorLabel ( 'SystemOverLoadedError ' ) ) . to . be . true ;
131+ expect ( error . hasErrorLabel ( 'SystemOverloadedError ' ) ) . to . be . true ;
132132
133133 // 6. Assert that the total number of started commands is MAX_RETRIES + 1 (6).
134134 expect ( commandsStarted ) . to . have . length ( MAX_RETRIES + 1 ) ;
@@ -186,10 +186,10 @@ describe('Client Backpressure (Prose)', function () {
186186 // 5. Perform a find operation with `coll` that fails.
187187 const error = await collection . findOne ( { } ) . catch ( e => e ) ;
188188
189- // 6. Assert that the raised error contains both the `RetryableError` and `SystemOverLoadedError ` error labels.
189+ // 6. Assert that the raised error contains both the `RetryableError` and `SystemOverloadedError ` error labels.
190190 expect ( error ) . to . be . instanceof ( MongoServerError ) ;
191191 expect ( error . hasErrorLabel ( 'RetryableError' ) ) . to . be . true ;
192- expect ( error . hasErrorLabel ( 'SystemOverLoadedError ' ) ) . to . be . true ;
192+ expect ( error . hasErrorLabel ( 'SystemOverloadedError ' ) ) . to . be . true ;
193193
194194 // 7. Assert that the total number of started commands is 3: one for the initial attempt and two for the retries.
195195 expect ( commandsStarted ) . to . have . length ( 3 ) ;
0 commit comments