Remove logs before running end-to-end tests

Hopefully will stop the end-to-end tests failing when buildkite
re-uses an agent.
This commit is contained in:
David Baker 2019-12-04 11:17:41 +00:00
parent dd7b08ec25
commit c44cfff7cf

View file

@ -36,7 +36,7 @@ echo "--- Install synapse & other dependencies"
./install.sh ./install.sh
# install static webserver to server symlinked local copy of riot # install static webserver to server symlinked local copy of riot
./riot/install-webserver.sh ./riot/install-webserver.sh
mkdir logs mkdir logs || rm -r logs/*
echo "+++ Running end-to-end tests" echo "+++ Running end-to-end tests"
TESTS_STARTED=1 TESTS_STARTED=1
./run.sh --no-sandbox --log-directory logs/ ./run.sh --no-sandbox --log-directory logs/