From c44cfff7cf5d85d1fb4749d6066e0dfa56759787 Mon Sep 17 00:00:00 2001 From: David Baker Date: Wed, 4 Dec 2019 11:17:41 +0000 Subject: [PATCH] Remove logs before running end-to-end tests Hopefully will stop the end-to-end tests failing when buildkite re-uses an agent. --- scripts/ci/end-to-end-tests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/ci/end-to-end-tests.sh b/scripts/ci/end-to-end-tests.sh index 567c853c2b..ae88ef70c7 100644 --- a/scripts/ci/end-to-end-tests.sh +++ b/scripts/ci/end-to-end-tests.sh @@ -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/