summaryrefslogtreecommitdiffstats
path: root/test/csit/scripts
diff options
context:
space:
mode:
authorYuli Shlosberg <ys9693@att.com>2017-10-01 21:03:05 +0300
committerYuli Shlosberg <ys9693@att.com>2017-10-01 21:03:05 +0300
commitf8b8352acaada6f679555de2cd9e1c0c75a24b76 (patch)
treeb43c6a5be5ec19b9ba47630272bb2d77bf0577c9 /test/csit/scripts
parent17b1ffd121a9395ef70e97387f4c412be50a6570 (diff)
SDC test rename and timeouts increase
Rename healthCheck test to sanity test Change-Id: Id24e18ef7b22592d7315de2ef992d59199bd2d6a Issue-Id: SDC-424 Signed-off-by: Yuli Shlosberg <ys9693@att.com>
Diffstat (limited to 'test/csit/scripts')
-rw-r--r--test/csit/scripts/sdc/start_sdc_containers.sh4
-rw-r--r--test/csit/scripts/sdc/start_sdc_sanity.sh2
2 files changed, 3 insertions, 3 deletions
diff --git a/test/csit/scripts/sdc/start_sdc_containers.sh b/test/csit/scripts/sdc/start_sdc_containers.sh
index 7d61846f3..bccea70bb 100644
--- a/test/csit/scripts/sdc/start_sdc_containers.sh
+++ b/test/csit/scripts/sdc/start_sdc_containers.sh
@@ -61,7 +61,7 @@ docker run --detach --name sdc-BE --env HOST_IP=${IP} --env ENVNAME="${DEP_ENV}"
echo "please wait while BE is starting..."
echo ""
-c=90 # seconds to wait
+c=180 # seconds to wait
REWRITE="\e[45D\e[1A\e[K"
while [ $c -gt 0 ]; do
c=$((c-1))
@@ -75,7 +75,7 @@ docker run --detach --name sdc-FE --env HOST_IP=${IP} --env ENVNAME="${DEP_ENV}"
echo "please wait while FE is starting..."
echo ""
-c=60 # seconds to wait
+c=160 # seconds to wait
REWRITE="\e[45D\e[1A\e[K"
while [ $c -gt 0 ]; do
c=$((c-1))
diff --git a/test/csit/scripts/sdc/start_sdc_sanity.sh b/test/csit/scripts/sdc/start_sdc_sanity.sh
index 33dbf67aa..7f2de0ef9 100644
--- a/test/csit/scripts/sdc/start_sdc_sanity.sh
+++ b/test/csit/scripts/sdc/start_sdc_sanity.sh
@@ -47,7 +47,7 @@ INTERVAL=20
TIME=0
while [ "$TIME" -lt "$TIME_OUT" ]; do
-PID=`docker exec -it sdc-sanity ps -ef | grep java | awk '{print $2}'`
+PID=`docker exec -i sdc-sanity ps -ef | grep java | awk '{print $2}'`
echo sanity PID is -- $PID
if [ -z "$PID" ]