Remove logs before running end-to-end tests

Hopefully will stop the end-to-end tests failing when buildkite
re-uses an agent.
pull/21833/head
David Baker 2019-12-04 11:17:41 +00:00
parent dd7b08ec25
commit c44cfff7cf
1 changed files with 1 additions and 1 deletions

View File

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