From 50029d9b706b1d780e920353fd812b352a964651 Mon Sep 17 00:00:00 2001 From: Sanyi Date: Fri, 26 Jul 2024 12:02:15 +0200 Subject: [PATCH] EMA-150 auto test memory optimizing --- dev/testv2/tools/scripts/run-e2e-local.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dev/testv2/tools/scripts/run-e2e-local.sh b/dev/testv2/tools/scripts/run-e2e-local.sh index 28121d7..88f05fe 100755 --- a/dev/testv2/tools/scripts/run-e2e-local.sh +++ b/dev/testv2/tools/scripts/run-e2e-local.sh @@ -34,7 +34,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"