Skip to content
Snippets Groups Projects
Commit 453d474b authored by Julien Leduc's avatar Julien Leduc
Browse files

Fix the broken basic test that always timedout because testFile existed

parent 4c6fbed1
Branches
Tags
No related merge requests found
Pipeline #32544 failed
......@@ -208,7 +208,11 @@ fi
echo "Waiting for the basic file transfer test to succeed (workaround for the booted/online issue )"
for ((i=0; i<300; i++)); do
xrdcp /etc/group root://${eoshost}:/${EOS_TMP_DIR}/testFile && break
# xrdcp --force to overwrite testFile if it was already created in the previous loop
# but xrdcp failed for another reason
xrdcp --force /etc/group root://${eoshost}:/${EOS_TMP_DIR}/testFile && break
# If the file exists the loop exited on a successfull xrdcp, otherwise it exited upon timeout and all xrdcp failed
eos rm ${EOS_TMP_DIR}/testFile
echo -n "."
sleep 1
done
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment