Skip to content

Commit

Permalink
test(NODE-3777): skip kmip test with auth
Browse files Browse the repository at this point in the history
  • Loading branch information
durran committed Feb 9, 2022
1 parent f51396c commit 207e634
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions .evergreen/run-bson-ext-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ fi
# run tests
echo "Running $AUTH tests over $SSL, connecting to $MONGODB_URI"

npm install mongodb-client-encryption@">=2.0.0-beta.3"
npm install bson-ext

export MONGODB_API_VERSION=${MONGODB_API_VERSION}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ describe('Client Side Encryption Prose Tests', metadata, function () {
* - Create client encryption expired
* - Create client encryption invalid hostname
*/
context('KMS TLS Options Tests', metadata, async function () {
context('KMS TLS Options Tests', metadata, function () {
let tlsCaOptions;
let clientNoTlsOptions;
let clientWithTlsOptions;
Expand All @@ -81,7 +81,7 @@ describe('Client Side Encryption Prose Tests', metadata, function () {
let clientEncryptionWithTlsExpired;
let clientEncryptionWithInvalidHostname;

before(async function () {
before(function () {
tlsCaOptions = {
aws: {
tlsCAFile: process.env.KMIP_TLS_CA_FILE
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@ const skippedAuthTests = [
'insertMany with encryption',
'insertOne with encryption',
'findOneAndDelete with deterministic encryption',
'$unset works with an encrypted field'
'$unset works with an encrypted field',
'Insert a document with auto encryption using KMIP KMS provider'
];

const SKIPPED_TESTS = new Set(isAuthEnabled ? skippedAuthTests : []);
Expand Down

0 comments on commit 207e634

Please sign in to comment.