diff --git a/dev/testv2/tools/scripts/run-e2e.sh b/dev/testv2/tools/scripts/run-e2e.sh index 77d888a..ea67e5e 100644 --- a/dev/testv2/tools/scripts/run-e2e.sh +++ b/dev/testv2/tools/scripts/run-e2e.sh @@ -25,7 +25,8 @@ docker compose -p mage_e2e_"$project_version" -f $composefile up --build -d echo "\n|--- Waiting for containers to initialize" sh ./wait.sh e2e >>/dev/null 2>&1 echo "\n|--- Running frontend tests" -docker compose -p mage_e2e_"$project_version" -f $composefile run --rm node sh -c "npm run e2e" --exit-code-from node --abort-on-container-exit node +free +docker compose -p mage_e2e_"$project_version" -f $composefile run --rm node sh -c "free && npm run e2e" --exit-code-from node --abort-on-container-exit node exitcode=$? echo "\n\n|--- All tests passed" free