File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
test/integration/node-specific Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -932,7 +932,7 @@ describe('AbortSignal support', () => {
932932 await clearFailPoint ( this . configuration ) ;
933933 } ) ;
934934
935- it . skip ( `rejects findOne` , async ( ) => {
935+ it ( `rejects findOne` , async ( ) => {
936936 client . on (
937937 'commandStarted' ,
938938 // Abort a bit after find has started:
@@ -942,10 +942,11 @@ describe('AbortSignal support', () => {
942942 const start = performance . now ( ) ;
943943 const result = await collection . findOne ( { } , { signal } ) . catch ( error => error ) ;
944944 const end = performance . now ( ) ;
945- expect ( end - start ) . to . be . lessThan ( 10 ) ; // shouldn't wait for the blocked connection
945+ // TODO(NODE-6833): This duration was bumped from 10 to 40 to reduce flakiness, if this fails again investigate it.
946+ expect ( end - start ) . to . be . lessThan ( 40 ) ; // shouldn't wait for the blocked connection
946947
947948 expect ( result ) . to . be . instanceOf ( DOMException ) ;
948- } ) . skipReason = 'TODO(NODE-6833): fix flaky test' ;
949+ } ) ;
949950 } ) ;
950951
951952 describe ( 'when a signal passed to db.command() is aborted' , failPointMetadata , ( ) => {
You can’t perform that action at this time.
0 commit comments