Update csit cases of vfc-nfvo-lcm 75/11475/1
authorfujinhua <fu.jinhua@zte.com.cn>
Sat, 9 Sep 2017 07:55:18 +0000 (15:55 +0800)
committerfujinhua <fu.jinhua@zte.com.cn>
Sat, 9 Sep 2017 07:55:18 +0000 (15:55 +0800)
Fix register port, ip of MSB
Change call rest ip, port to own in test.robot

Change-Id: Ife8a940e9086835c98d0692ffe5985b83b863dec
Issue-Id: INT-190
Signed-off-by: fujinhua <fu.jinhua@zte.com.cn>
test/csit/plans/vfc-nfvo-lcm/sanity-check/setup.sh
test/csit/tests/vfc/nfvo-lcm/test.robot

index 42a7f90..fafbe84 100755 (executable)
@@ -44,7 +44,7 @@ echo sleep 30
 sleep 30
 
 # start vfc-nslcm
-docker run -d --name vfc-nslcm -v /var/lib/mysql -e MSB_ADDR=${MSB_IAG_IP}:80 nexus3.onap.org:10001/onap/vfc/nslcm
+docker run -d --name vfc-nslcm -v /var/lib/mysql -e MSB_ADDR=${MSB_DISCOVERY_IP}:10081 nexus3.onap.org:10001/onap/vfc/nslcm
 NSLCM_IP=`get-instance-ip.sh vfc-nslcm`
 
 # Wait for initialization
index d0a5b7c..148856c 100644 (file)
@@ -12,7 +12,7 @@ ${queryswagger_url}    /api/nslcm/v1/swagger.json
 NslcmSwaggerTest
     [Documentation]    query swagger info nslcm
     ${headers}    Create Dictionary    Content-Type=application/json    Accept=application/json
-    Create Session    web_session    http://${MSB_IAG_IP}:80    headers=${headers}
+    Create Session    web_session    http://${NSLCM_IP}:8403    headers=${headers}
     ${resp}=  Get Request    web_session    ${queryswagger_url}
     ${responese_code}=     Convert To String      ${resp.status_code}
     List Should Contain Value    ${return_ok_list}   ${responese_code}