From 7a3eb32ee51c6e16a7d9a5692a906a7cec40528b Mon Sep 17 00:00:00 2001 From: Durran Jordan Date: Thu, 10 Feb 2022 14:41:41 +0100 Subject: [PATCH] fix: fix csfle imports --- .evergreen/run-bson-ext-test.sh | 2 +- .evergreen/run-tests.sh | 2 +- .../client_side_encryption.prose.deadlock.js | 2 +- .../client-side-encryption/client_side_encryption.prose.test.js | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.evergreen/run-bson-ext-test.sh b/.evergreen/run-bson-ext-test.sh index ffa258d79c..bdce9a5bdb 100755 --- a/.evergreen/run-bson-ext-test.sh +++ b/.evergreen/run-bson-ext-test.sh @@ -23,7 +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 mongodb-client-encryption@">=2.0.0-beta.4" npm install bson-ext export MONGODB_API_VERSION=${MONGODB_API_VERSION} diff --git a/.evergreen/run-tests.sh b/.evergreen/run-tests.sh index 642c2f6ab9..138aa7e41a 100755 --- a/.evergreen/run-tests.sh +++ b/.evergreen/run-tests.sh @@ -48,6 +48,6 @@ else . $DRIVERS_TOOLS/.evergreen/csfle/set-temp-creds.sh fi -npm install mongodb-client-encryption@">=2.0.0-beta.3" +npm install mongodb-client-encryption@">=2.0.0-beta.4" AUTH=$AUTH SINGLE_MONGOS_LB_URI=${SINGLE_MONGOS_LB_URI} MULTI_MONGOS_LB_URI=${MULTI_MONGOS_LB_URI} MONGODB_API_VERSION=${MONGODB_API_VERSION} MONGODB_UNIFIED_TOPOLOGY=${UNIFIED} MONGODB_URI=${MONGODB_URI} LOAD_BALANCER=${LOAD_BALANCER} npm run ${TEST_NPM_SCRIPT} diff --git a/test/integration/client-side-encryption/client_side_encryption.prose.deadlock.js b/test/integration/client-side-encryption/client_side_encryption.prose.deadlock.js index cab8ad276a..7d36bb5fb6 100644 --- a/test/integration/client-side-encryption/client_side_encryption.prose.deadlock.js +++ b/test/integration/client-side-encryption/client_side_encryption.prose.deadlock.js @@ -2,7 +2,7 @@ const BSON = require('bson'); const { expect } = require('chai'); -const { dropCollection } = require('../../integration/shared'); +const { dropCollection } = require('../shared'); const util = require('util'); const fs = require('fs'); const path = require('path'); diff --git a/test/integration/client-side-encryption/client_side_encryption.prose.test.js b/test/integration/client-side-encryption/client_side_encryption.prose.test.js index 14c6eb1a3e..6dab38aa89 100644 --- a/test/integration/client-side-encryption/client_side_encryption.prose.test.js +++ b/test/integration/client-side-encryption/client_side_encryption.prose.test.js @@ -51,7 +51,7 @@ describe('Client Side Encryption Prose Tests', metadata, function () { const keyVaultCollName = 'datakeys'; const keyVaultNamespace = `${keyVaultDbName}.${keyVaultCollName}`; - const shared = require('../../integration/shared'); + const shared = require('../shared'); const dropCollection = shared.dropCollection; const APMEventCollector = shared.APMEventCollector;