@@ -255,16 +255,14 @@ functions:
255
255
- ${DRIVERS_TOOLS}/.evergreen/stop-orchestration.sh
256
256
257
257
" run mod_wsgi tests " :
258
- - command : shell .exec
258
+ - command : subprocess .exec
259
259
type : test
260
260
params :
261
+ include_expansions_in_env : ["PROJECT_DIRECTORY"]
261
262
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
268
266
269
267
" run mockupdb tests " :
270
268
- command : subprocess.exec
@@ -360,20 +358,14 @@ functions:
360
358
bash ${PROJECT_DIRECTORY}/.evergreen/hatch.sh test:test-eg
361
359
362
360
" run enterprise auth tests " :
363
- - command : shell .exec
361
+ - command : subprocess .exec
364
362
type : test
365
363
params :
364
+ binary : bash
366
365
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
377
369
378
370
" run atlas tests " :
379
371
- command : subprocess.exec
0 commit comments