Skip to content

test(NODE-3606): legacy and new versions of the CSFLE library #2999

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Oct 14, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .evergreen/run-custom-csfle-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -99,3 +99,8 @@ if [ $DRIVER_CSFLE_TEST_RESULT -ne 0 ]; then
echo "Driver tests failed, look above for results"
exit 1
fi

echo "Test legacy version of FLE bindings"
rm -rf node_modules/mongodb-client-encryption
npm install mongodb-client-encryption@"^1.2.7"
npm run check:csfle
7 changes: 6 additions & 1 deletion .evergreen/run-kerberos-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,13 @@ fi
echo "Running kinit"
kinit -k -t "$(pwd)/.evergreen/drivers.keytab" -p ${KRB5_PRINCIPAL}

npm install kerberos
set -o xtrace
npm install kerberos@">=2.0.0-beta.0"
npm run check:kerberos

npm install kerberos@"^1.1.7"
npm run check:kerberos
set +o xtrace

# destroy ticket
kdestroy
2 changes: 1 addition & 1 deletion .evergreen/run-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ if [[ -z "${CLIENT_ENCRYPTION}" ]]; then
unset AWS_ACCESS_KEY_ID;
unset AWS_SECRET_ACCESS_KEY;
else
npm install mongodb-client-encryption@">=1.2.6"
npm install mongodb-client-encryption@">=2.0.0-beta.0"
pip install --upgrade boto3

# Get access to the AWS temporary credentials:
Expand Down