summaryrefslogtreecommitdiffstats
path: root/test/csit/scripts
diff options
context:
space:
mode:
authorGary Wu <gary.i.wu@huawei.com>2017-10-03 14:24:00 +0000
committerGerrit Code Review <gerrit@onap.org>2017-10-03 14:24:00 +0000
commit60032a5529c26de6d9c24b3b1f4806f1188c51ce (patch)
treeee4f43ed2f7e76350773b23742fb0bc119ea8c4a /test/csit/scripts
parent56bdb25c0ffdef131ec4bc160e2b686e9aad73ea (diff)
parentf8b8352acaada6f679555de2cd9e1c0c75a24b76 (diff)
Merge "SDC test rename and timeouts increase"
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" ]