summaryrefslogtreecommitdiffstats
path: root/test/csit/scripts/optf-has/has/music_script.sh
diff options
context:
space:
mode:
authorGary Wu <gary.i.wu@huawei.com>2018-08-29 22:50:13 +0000
committerGerrit Code Review <gerrit@onap.org>2018-08-29 22:50:13 +0000
commit3f20c45f7c61834a038a6964bbfdf34d376d923a (patch)
tree31e20cf9e3994f3a982623fc2812038c11f22894 /test/csit/scripts/optf-has/has/music_script.sh
parentd476fad5476e7bbe650953dc0ca5eae82408f6c7 (diff)
parentefea1b530c7fda38d24c897baaa00d80766bf75c (diff)
Merge "Updated wait time to fix optf-has csit failure"
Diffstat (limited to 'test/csit/scripts/optf-has/has/music_script.sh')
-rwxr-xr-xtest/csit/scripts/optf-has/has/music_script.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/csit/scripts/optf-has/has/music_script.sh b/test/csit/scripts/optf-has/has/music_script.sh
index fdd9a3e26..1e978c2f9 100755
--- a/test/csit/scripts/optf-has/has/music_script.sh
+++ b/test/csit/scripts/optf-has/has/music_script.sh
@@ -51,10 +51,10 @@ docker run -d --name music-db --network music-net -p "7000:7000" -p "7001:7001"
CASSA_IP=`docker inspect -f '{{ $network := index .NetworkSettings.Networks "music-net" }}{{ $network.IPAddress}}' music-db`
echo "CASSANDRA_IP=${CASSA_IP}"
${WORKSPACE}/test/csit/scripts/optf-has/has/wait_for_port.sh ${CASSA_IP} 9042
-
+sleep 60
# Start Music war
docker run -d --name music-war -v music-vol:/app ${MUSIC_IMG};
-
+sleep 15
# Start Zookeeper
docker run -d --name music-zk --network music-net -p "2181:2181" -p "2888:2888" -p "3888:3888" ${ZK_IMG};
#ZOO_IP=`docker inspect --format '{{ .NetworkSettings.Networks.bridge.IPAddress}}' music-zk`
@@ -80,7 +80,7 @@ echo "TOMCAT_IP=${TOMCAT_IP}"
${WORKSPACE}/test/csit/scripts/optf-has/has/wait_for_port.sh ${TOMCAT_IP} 8080
# wait a while to make sure music is totally up and configured
-sleep 10
+sleep 60
echo "inspect docker things for tracing purpose"
docker inspect music-db