File tree Expand file tree Collapse file tree 3 files changed +7
-3
lines changed
Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 2323
2424echo " TEST NAME IS $E2E_TASK_NAME "
2525echo " $MONGOSH_TEST_EXECUTABLE_PATH "
26- E2E_TASK_NAME= ${E2E_TASK_NAME} npm run test-e2e
26+ npm run test-e2e
Original file line number Diff line number Diff line change @@ -7,9 +7,10 @@ export PATH="/cygdrive/c/python/Python311/Scripts:/cygdrive/c/python/Python311:/
77export MONGOSH_TEST_ONLY_MAX_LOG_FILE_COUNT=100000
88export IS_MONGOSH_EVERGREEN_CI=1
99export DEBUG=" mongodb*,$DEBUG "
10+ export TASK_NAME=" $E2E_TASK_NAME "
1011
1112if [ " $OS " != " Windows_NT" ]; then
12- if which realpath; then # No realpath on macOS, but also not needed there
13+ if which realpath; then # No realpath on macOS, but also not needed there
1314 export HOME=" $( realpath " $HOME " ) " # Needed to de-confuse nvm when /home is a symlink
1415 fi
1516 export NVM_DIR=" $BASEDIR /.nvm"
6970echo " Running on:"
7071uname -a
7172
73+ echo " Running task"
74+ echo $TASK_NAME
75+
7276echo " Full path:"
7377echo $PATH
7478
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ const XUnit = reporters.XUnit;
99export class MochaReporter extends reporters . Base {
1010 constructor ( runner : Runner , options : MochaOptions ) {
1111 super ( runner , options ) ;
12- const suiteName = process . env . E2E_TASK_NAME ?? path . basename ( process . cwd ( ) ) ;
12+ const suiteName = process . env . TASK_NAME ?? path . basename ( process . cwd ( ) ) ;
1313 console . info ( `MOCHAREPORTER:${ suiteName } ` ) ;
1414
1515 new Spec ( runner ) ;
You can’t perform that action at this time.
0 commit comments