From 5294df0cde41c7e59aec70213bc921d8311becc3 Mon Sep 17 00:00:00 2001 From: Michael Davis <michael.davis@cern.ch> Date: Thu, 23 Jan 2020 13:53:56 +0100 Subject: [PATCH] [ci] simple_client_ar.sh: deletes test file at end of tests --- continuousintegration/orchestration/tests/simple_client_ar.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/continuousintegration/orchestration/tests/simple_client_ar.sh b/continuousintegration/orchestration/tests/simple_client_ar.sh index 8e0517462b..c4639bf63b 100644 --- a/continuousintegration/orchestration/tests/simple_client_ar.sh +++ b/continuousintegration/orchestration/tests/simple_client_ar.sh @@ -74,6 +74,9 @@ echo "********" eos root://${EOSINSTANCE} ls -l /eos/ctaeos/cta/${TEST_FILE_NAME} eos root://${EOSINSTANCE} info /eos/ctaeos/cta/${TEST_FILE_NAME} +# Delete the file so it doesn't interfere with tests in client_ar.sh +echo "eos root://${EOSINSTANCE} rm /eos/ctaeos/cta/${TEST_FILE_NAME}" +eos root://${EOSINSTANCE} rm /eos/ctaeos/cta/${TEST_FILE_NAME} msgNum=$(grep "\"File suc" /mnt/logs/tpsrv*/taped/cta/cta-taped.log | grep ${TEST_FILE_NAME} | tail -n 4 | wc -l) if [ $msgNum == "4" ]; then -- GitLab