File tree Expand file tree Collapse file tree 3 files changed +7
-14
lines changed
test/tools/unified-spec-runner Expand file tree Collapse file tree 3 files changed +7
-14
lines changed Original file line number Diff line number Diff line change @@ -617,6 +617,9 @@ functions:
617617 export AWS_ACCESS_KEY_ID=${aws_key}
618618 export AWS_SECRET_ACCESS_KEY=${aws_secret}
619619
620+ # use Node20
621+ export PATH=/opt/devtools/node20/bin:/opt/dev/tools/bin:$PATH
622+
620623 # Download all the task coverage files.
621624 # NOTE: All coverage files are too large for V8 to handle the resulting call to
622625 # JSON.stringify from within nyc, so with stick to Fermiun to include the
Original file line number Diff line number Diff line change @@ -556,6 +556,9 @@ functions:
556556 export AWS_ACCESS_KEY_ID=${aws_key}
557557 export AWS_SECRET_ACCESS_KEY=${aws_secret}
558558
559+ # use Node20
560+ export PATH=/opt/devtools/node20/bin:/opt/dev/tools/bin:$PATH
561+
559562 # Download all the task coverage files.
560563 # NOTE: All coverage files are too large for V8 to handle the resulting call to
561564 # JSON.stringify from within nyc, so with stick to Fermiun to include the
Original file line number Diff line number Diff line change @@ -771,20 +771,7 @@ export function compareLogs(
771771}
772772
773773function isMongoCryptError ( err ) : boolean {
774- if ( err . constructor . name === 'MongoCryptError' ) {
775- return true ;
776- }
777-
778- // TODO(NODE-7043): remove special handling for FLE errors in the UTR
779- if (
780- err instanceof TypeError &&
781- err . message . includes (
782- `csfle "analyze_query" failed: JSON schema keyword 'required' is only allowed with a remote schema`
783- )
784- ) {
785- return true ;
786- }
787- return err . stack . includes ( 'at ClientEncryption' ) ;
774+ return err . constructor . name === 'MongoCryptError' ;
788775}
789776
790777export function expectErrorCheck (
You can’t perform that action at this time.
0 commit comments