From 00ebfc0b499dab170161ec7cfbd2935190cda8e1 Mon Sep 17 00:00:00 2001
From: Eric Cano <Eric.Cano@cern.ch>
Date: Fri, 21 Jun 2019 12:01:43 +0200
Subject: [PATCH] Reinstated mistakely removed sleep between archive and
 retrieve.

Reduced the FST poll interval and the sleep timing as suggested by @jleduc and @smurray.
---
 .../docker/ctafrontend/cc7/config/ctaeos/etc/sysconfig/eos  | 2 ++
 continuousintegration/orchestration/tests/client_ar.sh      | 6 +++---
 2 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/continuousintegration/docker/ctafrontend/cc7/config/ctaeos/etc/sysconfig/eos b/continuousintegration/docker/ctafrontend/cc7/config/ctaeos/etc/sysconfig/eos
index d0013be631..ef935af243 100644
--- a/continuousintegration/docker/ctafrontend/cc7/config/ctaeos/etc/sysconfig/eos
+++ b/continuousintegration/docker/ctafrontend/cc7/config/ctaeos/etc/sysconfig/eos
@@ -53,3 +53,5 @@ export EOS_TTY_BROADCAST_LISTEN_LOGFILE="/var/log/eos/mgm/xrdlog.mgm"
 # define the log file regex you want to broad cast to all consoles
 export EOS_TTY_BROACAST_EGREP="\"CRIT|ALERT|EMERG|PROGRESS\""
 
+# define the fst delete rate
+export EOS_FST_DELETE_QUERY_INTERVAL=5
diff --git a/continuousintegration/orchestration/tests/client_ar.sh b/continuousintegration/orchestration/tests/client_ar.sh
index f0c463ada5..8153465196 100644
--- a/continuousintegration/orchestration/tests/client_ar.sh
+++ b/continuousintegration/orchestration/tests/client_ar.sh
@@ -252,9 +252,9 @@ fi
 echo "###"
 echo "${TAPEONLY}/${ARCHIVED} on tape only"
 echo "###"
-#echo "Sleeping 400 seconds to allow MGM-FST communication to settle after disk copy deletion."
-#sleep 400
-#echo "###"
+echo "Sleeping 10 seconds to allow MGM-FST communication to settle after disk copy deletion."
+sleep 10
+echo "###"
 
 
 if [[ $TAPEAWAREGC == 1 ]]; then
-- 
GitLab