From 17b1ffd121a9395ef70e97387f4c412be50a6570 Mon Sep 17 00:00:00 2001 From: "ying.yunlong" Date: Sat, 30 Sep 2017 17:19:46 +0800 Subject: Fix vfc csit curl bug in integration Change-Id: If5220730a9cb8f0accaee787b8984eb57c730ea7 Issue-ID: VFC-491 Signed-off-by: ying.yunlong --- test/csit/plans/vfc-gvnfm-vnfmgr/sanity-check/setup.sh | 2 +- test/csit/plans/vfc-nfvo-catalog/sanity-check/setup.sh | 2 +- test/csit/plans/vfc-nfvo-driver-vnfm-gvnfm/sanity-check/setup.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'test/csit/plans') diff --git a/test/csit/plans/vfc-gvnfm-vnfmgr/sanity-check/setup.sh b/test/csit/plans/vfc-gvnfm-vnfmgr/sanity-check/setup.sh index ec315a24b..e95d22002 100755 --- a/test/csit/plans/vfc-gvnfm-vnfmgr/sanity-check/setup.sh +++ b/test/csit/plans/vfc-gvnfm-vnfmgr/sanity-check/setup.sh @@ -35,7 +35,7 @@ echo MSB_IP=${MSB_IP} docker run -d --name vfc-vnfmgr -e MSB_ADDR=${MSB_IP}:80 nexus3.onap.org:10001/onap/vfc/vnfmgr VNFMGR_IP=`get-instance-ip.sh vfc-vnfmgr` for i in {1..10}; do - curl -sS ${VNFMGR_IP}:8803 && break + curl -sS -m 1 ${VNFMGR_IP}:8803 && break echo sleep $i sleep $i done diff --git a/test/csit/plans/vfc-nfvo-catalog/sanity-check/setup.sh b/test/csit/plans/vfc-nfvo-catalog/sanity-check/setup.sh index 6374b88ba..c4cdbdee5 100644 --- a/test/csit/plans/vfc-nfvo-catalog/sanity-check/setup.sh +++ b/test/csit/plans/vfc-nfvo-catalog/sanity-check/setup.sh @@ -48,7 +48,7 @@ sleep 60 docker run -d --name vfc-catalog -v /var/lib/mysql -e MSB_ADDR=${DISCOVERY_IP}:10081 nexus3.onap.org:10001/onap/vfc/catalog CATALOG_IP=`get-instance-ip.sh vfc-catalog` for i in {1..10}; do - curl -sS ${CATALOG_IP}:8806 && break + curl -sS -m 1 ${CATALOG_IP}:8806 && break echo sleep $i sleep $i done diff --git a/test/csit/plans/vfc-nfvo-driver-vnfm-gvnfm/sanity-check/setup.sh b/test/csit/plans/vfc-nfvo-driver-vnfm-gvnfm/sanity-check/setup.sh index 283cb0d41..fed23c5aa 100644 --- a/test/csit/plans/vfc-nfvo-driver-vnfm-gvnfm/sanity-check/setup.sh +++ b/test/csit/plans/vfc-nfvo-driver-vnfm-gvnfm/sanity-check/setup.sh @@ -47,7 +47,7 @@ GVNFMDRIVER_IP=`get-instance-ip.sh vfc-gvnfmdriver` # Wait for initialization for i in {1..10}; do - curl -sS ${GVNFMDRIVER_IP}:8484 && break + curl -sS -m 1 ${GVNFMDRIVER_IP}:8484 && break echo sleep $i sleep $i done -- cgit 1.2.3-korg