Skip to content

Commit

Permalink
EMA-150 auto test memory optimizing
Browse files Browse the repository at this point in the history
  • Loading branch information
Sanyi committed Jul 26, 2024
1 parent 58e981d commit dfa8388
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions dev/testv2/tools/docker/Dockerfile-mage-node
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ ENV NPM_TOKEN=${NPM_TOKEN}
COPY testv2 /test

WORKDIR /test
RUN npm ci
RUN ./node_modules/.bin/cypress install
RUN ./node_modules/.bin/cypress verify
RUN npm ci && free
RUN ./node_modules/.bin/cypress install && free
RUN ./node_modules/.bin/cypress verify && free

#CMD /usr/local/bin/shell.sh ; sleep infinity
1 change: 1 addition & 0 deletions dev/testv2/tools/scripts/run-e2e.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ 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
exitcode=$?
echo "\n\n|--- All tests passed"
free

docker compose -p mage_e2e_"$project_version" -f $composefile down
exit $exitcode

0 comments on commit dfa8388

Please sign in to comment.