summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorGary Wu <gary.i.wu@huawei.com>2017-09-27 19:35:32 +0000
committerGerrit Code Review <gerrit@onap.org>2017-09-27 19:35:32 +0000
commiteebf842d5688d8743f67b17a3f589e148a013def (patch)
treef56cd0a18653dad6cb497cdb7fd80840c6e9df6f /test
parent170189c3429dcf4022969a0395ebd25bff7faf4a (diff)
parent67054db950c18569d5f10e463b4f96b8d2cc3079 (diff)
Merge "Modify CSIT for vfc-resmanagement"
Diffstat (limited to 'test')
-rw-r--r--test/csit/plans/vfc-nfvo-resmanagement/sanity-check/setup.sh2
-rw-r--r--test/csit/tests/vfc/nfvo-resmanagement/test.robot3
2 files changed, 3 insertions, 2 deletions
diff --git a/test/csit/plans/vfc-nfvo-resmanagement/sanity-check/setup.sh b/test/csit/plans/vfc-nfvo-resmanagement/sanity-check/setup.sh
index a18562eb7..b0cec31a1 100644
--- a/test/csit/plans/vfc-nfvo-resmanagement/sanity-check/setup.sh
+++ b/test/csit/plans/vfc-nfvo-resmanagement/sanity-check/setup.sh
@@ -34,7 +34,7 @@ echo MSB_IP=${MSB_IP}
# Start resmgr
docker run -d --name vfc-resmanagement -e MSB_ADDR=${MSB_IP}:80 nexus3.onap.org:10001/onap/vfc/resmanagement
RESMGR_IP=`get-instance-ip.sh vfc-resmanagement`
-for i in {1..10}; do
+for i in {1..20}; do
curl -sS ${RESMGR_IP}:8480 && break
echo sleep $i
sleep $i
diff --git a/test/csit/tests/vfc/nfvo-resmanagement/test.robot b/test/csit/tests/vfc/nfvo-resmanagement/test.robot
index 526fb304e..2f2475535 100644
--- a/test/csit/tests/vfc/nfvo-resmanagement/test.robot
+++ b/test/csit/tests/vfc/nfvo-resmanagement/test.robot
@@ -1,4 +1,5 @@
*** settings ***
+Resource ../../common.robot
Library Collections
Library RequestsLibrary
Library simplejson
@@ -20,4 +21,4 @@ SwaggerFuncTest
List Should Contain Value ${return_ok_list} ${responese_code}
${response_json} json.loads ${resp.content}
${swagger_version}= Convert To String ${response_json['swagger']}
- Should Be Equal ${swagger_version} 2.0
+ Should Be Equal ${swagger_version} 2.0 \ No newline at end of file