@@ -34,7 +34,7 @@ variables:
3434 EVERGREEN_TASK_URL : https://evergreen.mongodb.com/task/${task_id}
3535 EVERGREEN_VERSION_ID : ${version_id}
3636 EVERGREEN_WORKDIR : ${workdir}
37- NODE_JS_VERSION : ' 16.15.1 '
37+ NODE_JS_VERSION : ' 16.17.0 '
3838 NPM_VERSION : ' 8.15.1'
3939 # secrets
4040 HADRON_METRICS_INTERCOM_APP_ID : ${metrics_intercom_app_id}
@@ -189,6 +189,9 @@ functions:
189189 shell : bash
190190 env :
191191 << : *compass-env
192+ DEBUG : ${debug|}
193+ MONGODB_VERSION : ${mongodb_version|}
194+ MONGODB_USE_ENTERPRISE : ${mongodb_use_enterprise|}
192195 script : |
193196 set -e
194197
@@ -201,13 +204,7 @@ functions:
201204 # separately in the test-packaged-app task
202205 export IGNORE_TESTS="compass-e2e-tests"
203206
204- # debug option is not very useful in normal runs, but helpful when
205- # debugging any issues with tests. Set to "mocha*", "hadron*", or
206- # "mongo*" for some helpful output from the test tooling we are using
207- DEBUG=${debug} \
208- MONGODB_VERSION="${mongodb_version|4.4.x}" \
209- MONGODB_USE_ENTERPRISE="${mongodb_use_enterprise|}" \
210- npm run --unsafe-perm test-ci -- --stream --ignore="$IGNORE_TESTS"
207+ npm run --unsafe-perm test-ci -- --stream --ignore="$IGNORE_TESTS"
211208
212209 test-electron :
213210 - command : shell.exec
@@ -218,6 +215,9 @@ functions:
218215 shell : bash
219216 env :
220217 << : *compass-env
218+ DEBUG : ${debug|}
219+ MONGODB_VERSION : ${mongodb_version|}
220+ MONGODB_USE_ENTERPRISE : ${mongodb_use_enterprise|}
221221 script : |
222222 set -e
223223
@@ -229,10 +229,7 @@ functions:
229229 # Preparing native addons for electron runtime
230230 npm run --unsafe-perm electron-rebuild
231231
232- DEBUG=${debug} \
233- MONGODB_VERSION="${mongodb_version|4.4.x}" \
234- MONGODB_USE_ENTERPRISE="${mongodb_use_enterprise|}" \
235- npm run --unsafe-perm test-ci-electron -- --stream
232+ npm run --unsafe-perm test-ci-electron -- --stream
236233
237234 apply-compass-target-expansion :
238235 - command : shell.exec
@@ -341,6 +338,9 @@ functions:
341338 shell : bash
342339 env :
343340 << : *compass-env
341+ DEBUG : ${debug|}
342+ MONGODB_VERSION : ${mongodb_version|}
343+ MONGODB_USE_ENTERPRISE : ${mongodb_use_enterprise|}
344344 script : |
345345 set -e
346346 # Load environment variables
@@ -349,10 +349,7 @@ functions:
349349
350350 echo "Running E2E tests while collecting coverage..."
351351
352- DEBUG=${debug} \
353- MONGODB_VERSION="${mongodb_version|4.4.x}" \
354- MONGODB_USE_ENTERPRISE="${mongodb_use_enterprise|}" \
355- npm run --unsafe-perm --workspace compass-e2e-tests test-ci
352+ npm run --unsafe-perm --workspace compass-e2e-tests test-ci
356353
357354 test-packaged-app :
358355 - command : shell.exec
@@ -365,6 +362,9 @@ functions:
365362 << : *compass-env
366363 COMPASS_APP_PATH : ${appPath}
367364 COMPASS_APP_NAME : ${packagerOptions.name}
365+ DEBUG : ${debug|}
366+ MONGODB_VERSION : ${mongodb_version|}
367+ MONGODB_USE_ENTERPRISE : ${mongodb_use_enterprise|}
368368 script : |
369369 set -e
370370 # Load environment variables
@@ -380,10 +380,7 @@ functions:
380380 export COMPASS_E2E_DISABLE_CLIPBOARD_USAGE="true"
381381 fi
382382
383- DEBUG=${debug} \
384- MONGODB_VERSION="${mongodb_version|4.4.x}" \
385- MONGODB_USE_ENTERPRISE="${mongodb_use_enterprise|}" \
386- npm run --unsafe-perm --workspace compass-e2e-tests test-packaged-ci
383+ npm run --unsafe-perm --workspace compass-e2e-tests test-packaged-ci
387384
388385 test-connectivity :
389386 - command : shell.exec
0 commit comments