aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorluxin <luxin7@huawei.com>2017-09-27 16:41:49 +0800
committerluxin <luxin7@huawei.com>2017-09-27 16:41:49 +0800
commit67054db950c18569d5f10e463b4f96b8d2cc3079 (patch)
tree27004dd75cb7673c0db022610727d921081314c7 /test
parent102cee6271799872a6d56314e8dc44b3d591a330 (diff)
Modify CSIT for vfc-resmanagement
Change-Id: I3503304988b234ae0d9898df913dff3ebf025aeb Issue-Id:VFC-424 Signed-off-by: luxin <luxin7@huawei.com>
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