Skip to content

Commit f12df17

Browse files
GODRIVER-2534 Ensure credentials are not used in EC2 auth tests (#1083)
1 parent b18931b commit f12df17

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.evergreen/config.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -802,6 +802,10 @@ functions:
802802
if [ "${SKIP_EC2_AUTH_TEST}" = "true" ]; then
803803
exit 0
804804
fi
805+
806+
# Truncate "prepare_mongodb_aws.sh" to zero length. If file not present, creates zero-length file.
807+
: > "${PROJECT_DIRECTORY}/prepare_mongodb_aws.sh"
808+
805809
${PROJECT_DIRECTORY}/.evergreen/run-mongodb-aws-test.sh
806810
807811
run-aws-auth-test-with-aws-credentials-as-environment-variables:
@@ -2159,7 +2163,7 @@ task_groups:
21592163
--out . \
21602164
--only "**/mongo_crypt_v1.*" \
21612165
--strip-path-components 1
2162-
2166+
21632167
# Find the crypt_shared library file in the current directory and set the CRYPT_SHARED_LIB_PATH to
21642168
# the path of that file. Only look for .so, .dll, or .dylib files to prevent matching any other
21652169
# downloaded files.

0 commit comments

Comments
 (0)