Skip to content

Commit a24cba1

Browse files
committed
double check
1 parent 5c26e87 commit a24cba1

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.evergreen/run-e2e-tests.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,6 @@ if [ "$OS" == "Windows_NT" ]; then
2121
export MONGOSH_TEST_EXECUTABLE_PATH="$(cygpath -w "$MONGOSH_TEST_EXECUTABLE_PATH")"
2222
fi
2323

24+
echo "TEST NAME IS $E2E_TASK_NAME"
2425
echo "$MONGOSH_TEST_EXECUTABLE_PATH"
25-
npm run test-e2e
26+
E2E_TASK_NAME=${E2E_TASK_NAME} npm run test-e2e

packages/e2e-tests/reporter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export class MochaReporter extends reporters.Base {
1010
constructor(runner: Runner, options: MochaOptions) {
1111
super(runner, options);
1212
const suiteName = process.env.E2E_TASK_NAME ?? path.basename(process.cwd());
13-
console.info(`MOCHAREPORTER:${suiteName}`);
13+
console.info(`MOCHAREPORTER:${suiteName} ${JSON.stringify(process.env)}`);
1414

1515
new Spec(runner);
1616

0 commit comments

Comments
 (0)