Skip to content

Commit

Permalink
fix: fix csfle imports (#3142)
Browse files Browse the repository at this point in the history
  • Loading branch information
durran authored Feb 10, 2022
1 parent 489e05b commit 541e939
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .evergreen/run-bson-ext-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down
2 changes: 1 addition & 1 deletion .evergreen/run-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 541e939

Please sign in to comment.