Skip to content

Commit 04b151a

Browse files
committed
test: setup fle
1 parent 968637e commit 04b151a

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.evergreen/run-aws-custom-credential-providers-test.sh

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ set -o errexit # Exit the script with error if any of the commands fail
55
MONGODB_URI=${MONGODB_URI:-}
66

77
source .evergreen/setup-mongodb-aws-auth-tests.sh
8+
source .evergreen/setup-fle.sh
89

910
# load node.js environment
1011
source $DRIVERS_TOOLS/.evergreen/init-node-and-npm-env.sh

test/integration/client-side-encryption/client_side_encryption.prose.25.custom_aws_credential_providers.test.ts

+3-1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import { expect } from 'chai';
33
/* eslint-disable @typescript-eslint/no-restricted-imports */
44
import { ClientEncryption } from '../../../src/client-side-encryption/client_encryption';
55
import { AWSTemporaryCredentialProvider, Binary } from '../../mongodb';
6+
import { getEncryptExtraOptions } from '../../tools/utils';
67

78
const metadata: MongoDBMetadataUI = {
89
requires: {
@@ -93,7 +94,8 @@ describe('25. Custom AWS Credential Providers', metadata, () => {
9394
secretAccessKey: process.env.FLE_AWS_SECRET
9495
};
9596
}
96-
}
97+
},
98+
extraOptions: getEncryptExtraOptions()
9799
}
98100
});
99101
});

0 commit comments

Comments
 (0)