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 67a435e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
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
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 67a435e

Please sign in to comment.