@@ -255,16 +255,14 @@ functions:
255255 - ${DRIVERS_TOOLS}/.evergreen/stop-orchestration.sh
256256
257257 " run mod_wsgi tests " :
258- - command : shell .exec
258+ - command : subprocess .exec
259259 type : test
260260 params :
261+ include_expansions_in_env : ["PROJECT_DIRECTORY"]
261262 working_dir : " src"
262- script : |
263- . .evergreen/scripts/env.sh
264- set -o xtrace
265- PYTHON_BINARY=${PYTHON_BINARY} MOD_WSGI_VERSION=${MOD_WSGI_VERSION} \
266- MOD_WSGI_EMBEDDED=${MOD_WSGI_EMBEDDED} PROJECT_DIRECTORY=${PROJECT_DIRECTORY} \
267- bash ${PROJECT_DIRECTORY}/.evergreen/run-mod-wsgi-tests.sh
263+ binary : bash
264+ args :
265+ - .evergreen/scripts/run-modwsgi-tests.sh
268266
269267 " run mockupdb tests " :
270268 - command : subprocess.exec
@@ -360,20 +358,14 @@ functions:
360358 bash ${PROJECT_DIRECTORY}/.evergreen/hatch.sh test:test-eg
361359
362360 " run enterprise auth tests " :
363- - command : shell .exec
361+ - command : subprocess .exec
364362 type : test
365363 params :
364+ binary : bash
366365 working_dir : " src"
367- include_expansions_in_env : ["DRIVERS_TOOLS", "AWS_ACCESS_KEY_ID", "AWS_SECRET_ACCESS_KEY", "AWS_SESSION_TOKEN"]
368- script : |
369- # Disable xtrace for security reasons (just in case it was accidentally set).
370- set +x
371- bash ${DRIVERS_TOOLS}/.evergreen/auth_aws/setup_secrets.sh drivers/enterprise_auth
372- PROJECT_DIRECTORY="${PROJECT_DIRECTORY}" \
373- PYTHON_BINARY="${PYTHON_BINARY}" \
374- TEST_ENTERPRISE_AUTH=1 \
375- AUTH=auth \
376- bash ${PROJECT_DIRECTORY}/.evergreen/hatch.sh test:test-eg
366+ include_expansions_in_env : ["DRIVERS_TOOLS", "PROJECT_DIRECTORY", "AWS_ACCESS_KEY_ID", "AWS_SECRET_ACCESS_KEY", "AWS_SESSION_TOKEN"]
367+ args :
368+ - .evergreen/scripts/run-enterprise-auth-tests.sh
377369
378370 " run atlas tests " :
379371 - command : subprocess.exec
0 commit comments