diff --git a/continuousintegration/docker/ctafrontend/cc7/opt/run/bin/ctaeos-mgm.sh b/continuousintegration/docker/ctafrontend/cc7/opt/run/bin/ctaeos-mgm.sh
index fd9f3bbc52070b109be0d6ee65e87955d9d3147d..3ea7612ae61a00dbf1a1f4288560c23f0e91bc43 100755
--- a/continuousintegration/docker/ctafrontend/cc7/opt/run/bin/ctaeos-mgm.sh
+++ b/continuousintegration/docker/ctafrontend/cc7/opt/run/bin/ctaeos-mgm.sh
@@ -186,15 +186,13 @@ fi
   eos mkdir ${EOS_TMP_DIR}
   eos chmod 777 ${EOS_TMP_DIR}
 
-  echo "Waiting for the EOS disk filesystem using /fst to come on-line"
-  while test 1 != `eos fs ls /fst | grep booted | wc -l`; do
+  echo "Waiting for the EOS disk filesystem using /fst to boot and come on-line"
+  while test 1 != `eos fs ls /fst | egrep 'booted.*online' | wc -l`; do
     echo "Sleeping 1 second"
     sleep 1
   done
 
 # test EOS
-# eos slow behind us and we need to give it time to be ready
-  sleep 10
   eos -b node ls
   xrdcp /etc/group root://${eoshost}:/${EOS_TMP_DIR}/testFile