mirror of
https://github.com/overleaf/overleaf.git
synced 2025-01-30 18:31:26 +00:00
Merge pull request #654 from sharelatex/ja-explain-error-on-crash
Explain error if web crashes in acceptance tests
This commit is contained in:
commit
e162ff6256
1 changed files with 5 additions and 1 deletions
|
@ -207,7 +207,11 @@ test_acceptance_app_stop_service:
|
|||
docker-compose ${DOCKER_COMPOSE_FLAGS} stop -t 0 test_acceptance redis mongo
|
||||
|
||||
test_acceptance_app_run:
|
||||
docker-compose ${DOCKER_COMPOSE_FLAGS} exec -T test_acceptance npm -q run test:acceptance -- ${MOCHA_ARGS}
|
||||
@docker-compose ${DOCKER_COMPOSE_FLAGS} exec -T test_acceptance npm -q run test:acceptance -- ${MOCHA_ARGS}; \
|
||||
if [ $$? -eq 137 ]; then \
|
||||
echo "\nOh dear, it looks like the web process crashed! To see why, run:\n\n\tdocker-compose logs test_acceptance\n"; \
|
||||
exit 1; \
|
||||
fi
|
||||
|
||||
test_acceptance_modules:
|
||||
@set -e; \
|
||||
|
|
Loading…
Reference in a new issue