summaryrefslogtreecommitdiffstats
path: root/test/csit/plans/msb/sanity-check/setup.sh
diff options
context:
space:
mode:
authoryunlong ying <ying.yunlong@zte.com.cn>2017-09-08 00:49:41 +0000
committerGerrit Code Review <gerrit@onap.org>2017-09-08 00:49:41 +0000
commit28aeabbdf601a4a359876623df33a920dee820a2 (patch)
treeec084db9d1a3a9d9e84fe8e9c08625926a7198fe /test/csit/plans/msb/sanity-check/setup.sh
parentf8c2ff82f783f0becdae3d541954eb0d3f8f2339 (diff)
parente9830799c584a540491f836e16939768b71dc473 (diff)
Merge "Fix csit issue"
Diffstat (limited to 'test/csit/plans/msb/sanity-check/setup.sh')
-rw-r--r--test/csit/plans/msb/sanity-check/setup.sh11
1 files changed, 7 insertions, 4 deletions
diff --git a/test/csit/plans/msb/sanity-check/setup.sh b/test/csit/plans/msb/sanity-check/setup.sh
index a484160a0..21bb18f7d 100644
--- a/test/csit/plans/msb/sanity-check/setup.sh
+++ b/test/csit/plans/msb/sanity-check/setup.sh
@@ -18,15 +18,15 @@
source ${SCRIPTS}/common_functions.sh
#start msb
-sudo docker run -d -p 8500:8500 --name msb_consul consul
+docker run -d -p 8500:8500 --name msb_consul consul
MSB_CONSUL_IP=`get-instance-ip.sh msb_consul`
echo MSB_CONSUL_IP=${MSB_CONSUL_IP}
-sudo docker run -d -p 10081:10081 -e CONSUL_IP=$MSB_CONSUL_IP --name msb_discovery nexus3.onap.org:10001/onap/msb/msb_discovery
+docker run -d -p 10081:10081 -e CONSUL_IP=$MSB_CONSUL_IP --name msb_discovery nexus3.onap.org:10001/onap/msb/msb_discovery
MSB_DISCOVERY_IP=`get-instance-ip.sh msb_discovery`
echo DISCOVERY_IP=${MSB_DISCOVERY_IP}
-sudo docker run -d -p 80:80 -e CONSUL_IP=$MSB_CONSUL_IP -e SDCLIENT_IP=$MSB_DISCOVERY_IP --name msb_internal_apigateway nexus3.onap.org:10001/onap/msb/msb_apigateway
+docker run -d -p 80:80 -e CONSUL_IP=$MSB_CONSUL_IP -e SDCLIENT_IP=$MSB_DISCOVERY_IP --name msb_internal_apigateway nexus3.onap.org:10001/onap/msb/msb_apigateway
MSB_IAG_IP=`get-instance-ip.sh msb_internal_apigateway`
echo MSB_IAG_IP=${MSB_IAG_IP}
@@ -37,5 +37,8 @@ for i in {1..10}; do
sleep $i
done
-# Pass any variables required by Robot test suites in ROBOT_VARIABLES
+#wait for container initalization
+sleep 30
+
+#Pass any variables required by Robot test suites in ROBOT_VARIABLES
ROBOT_VARIABLES="-v MSB_IAG_IP:${MSB_IAG_IP}"