File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
test/integration/node-specific Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change 1- import * as child_process from 'node:child_process' ;
21import * as events from 'node:events' ;
32import * as util from 'node:util' ;
43
@@ -8,7 +7,6 @@ import * as sinon from 'sinon';
87import {
98 type AbstractCursor ,
109 AggregationCursor ,
11- AutoEncrypter ,
1210 ClientEncryption ,
1311 type Collection ,
1412 type Db ,
@@ -17,8 +15,7 @@ import {
1715 type Log ,
1816 type MongoClient ,
1917 ReadPreference ,
20- setDifference ,
21- UUID
18+ setDifference
2219} from '../../mongodb' ;
2320import {
2421 clearFailPoint ,
@@ -436,7 +433,11 @@ describe('AbortSignal support', () => {
436433 let utilClient = this . configuration . newClient ( { } , { } ) ;
437434
438435 try {
439- await utilClient . db ( 'abortSignal' ) . collection ( 'support' ) . drop ( { } ) ;
436+ await utilClient
437+ . db ( 'abortSignal' )
438+ . collection ( 'support' )
439+ . drop ( { } )
440+ . catch ( ( ) => null ) ;
440441
441442 const clientEncryption = new ClientEncryption ( utilClient , {
442443 ...autoEncryption ,
You can’t perform that action at this time.
0 commit comments