From f12df171e949167b52107d2f37ced02670408664 Mon Sep 17 00:00:00 2001 From: Preston Vasquez <24281431+prestonvasquez@users.noreply.github.com> Date: Mon, 3 Oct 2022 11:50:21 -0600 Subject: [PATCH] GODRIVER-2534 Ensure credentials are not used in EC2 auth tests (#1083) --- .evergreen/config.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.evergreen/config.yml b/.evergreen/config.yml index d5b9a3e7fe..fb494722ce 100644 --- a/.evergreen/config.yml +++ b/.evergreen/config.yml @@ -802,6 +802,10 @@ functions: if [ "${SKIP_EC2_AUTH_TEST}" = "true" ]; then exit 0 fi + + # Truncate "prepare_mongodb_aws.sh" to zero length. If file not present, creates zero-length file. + : > "${PROJECT_DIRECTORY}/prepare_mongodb_aws.sh" + ${PROJECT_DIRECTORY}/.evergreen/run-mongodb-aws-test.sh run-aws-auth-test-with-aws-credentials-as-environment-variables: @@ -2159,7 +2163,7 @@ task_groups: --out . \ --only "**/mongo_crypt_v1.*" \ --strip-path-components 1 - + # Find the crypt_shared library file in the current directory and set the CRYPT_SHARED_LIB_PATH to # the path of that file. Only look for .so, .dll, or .dylib files to prevent matching any other # downloaded files.