Modify CSIT for vfc-resmanagement 47/15847/1
authorluxin <luxin7@huawei.com>
Wed, 27 Sep 2017 08:41:49 +0000 (16:41 +0800)
committerluxin <luxin7@huawei.com>
Wed, 27 Sep 2017 08:41:49 +0000 (16:41 +0800)
Change-Id: I3503304988b234ae0d9898df913dff3ebf025aeb
Issue-Id:VFC-424
Signed-off-by: luxin <luxin7@huawei.com>
test/csit/plans/vfc-nfvo-resmanagement/sanity-check/setup.sh
test/csit/tests/vfc/nfvo-resmanagement/test.robot

index a18562e..b0cec31 100644 (file)
@@ -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
index 526fb30..2f24755 100644 (file)
@@ -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