File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -352,7 +352,7 @@ describe('CRUD API explain option', function () {
352
352
) ;
353
353
354
354
expect ( result ) . to . be . instanceOf ( MongoOperationTimeoutError ) ;
355
- expect ( duration ) . to . be . within ( 1000 , 1000 + 100 ) ;
355
+ expect ( duration ) . to . be . within ( 1000 - 100 , 1000 + 100 ) ;
356
356
} ) ;
357
357
358
358
test ( 'the explain command has the calculated maxTimeMS value attached' , async function ( ) {
@@ -415,7 +415,7 @@ describe('CRUD API explain option', function () {
415
415
) ;
416
416
417
417
expect ( result ) . to . be . instanceOf ( MongoOperationTimeoutError ) ;
418
- expect ( duration ) . to . be . within ( 1000 , 1000 + 100 ) ;
418
+ expect ( duration ) . to . be . within ( 1000 - 100 , 1000 + 100 ) ;
419
419
} ) ;
420
420
421
421
test ( 'the explain command has the calculated maxTimeMS value attached' , async function ( ) {
You can’t perform that action at this time.
0 commit comments