Skip to content

Commit 207e634

Browse files
committed
test(NODE-3777): skip kmip test with auth
1 parent f51396c commit 207e634

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

.evergreen/run-bson-ext-test.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ fi
2323
# run tests
2424
echo "Running $AUTH tests over $SSL, connecting to $MONGODB_URI"
2525

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

2829
export MONGODB_API_VERSION=${MONGODB_API_VERSION}

test/integration/client-side-encryption/client_side_encryption.prose.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ describe('Client Side Encryption Prose Tests', metadata, function () {
6666
* - Create client encryption expired
6767
* - Create client encryption invalid hostname
6868
*/
69-
context('KMS TLS Options Tests', metadata, async function () {
69+
context('KMS TLS Options Tests', metadata, function () {
7070
let tlsCaOptions;
7171
let clientNoTlsOptions;
7272
let clientWithTlsOptions;
@@ -81,7 +81,7 @@ describe('Client Side Encryption Prose Tests', metadata, function () {
8181
let clientEncryptionWithTlsExpired;
8282
let clientEncryptionWithInvalidHostname;
8383

84-
before(async function () {
84+
before(function () {
8585
tlsCaOptions = {
8686
aws: {
8787
tlsCAFile: process.env.KMIP_TLS_CA_FILE

test/integration/client-side-encryption/client_side_encryption.spec.test.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,8 @@ const skippedAuthTests = [
4848
'insertMany with encryption',
4949
'insertOne with encryption',
5050
'findOneAndDelete with deterministic encryption',
51-
'$unset works with an encrypted field'
51+
'$unset works with an encrypted field',
52+
'Insert a document with auto encryption using KMIP KMS provider'
5253
];
5354

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

0 commit comments

Comments
 (0)