aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfujinhua <fu.jinhua@zte.com.cn>2017-09-09 15:55:18 +0800
committerfujinhua <fu.jinhua@zte.com.cn>2017-09-09 15:55:18 +0800
commitfef3f74240fc715e2a9eba75bd1c65680655ea5a (patch)
tree78e696d12e8aec2f6f900ba779605d21fb8af067
parent62a2989f64b062ec4faf39dbd518f2f553709780 (diff)
Update csit cases of vfc-nfvo-lcm
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>
-rwxr-xr-xtest/csit/plans/vfc-nfvo-lcm/sanity-check/setup.sh2
-rw-r--r--test/csit/tests/vfc/nfvo-lcm/test.robot2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/csit/plans/vfc-nfvo-lcm/sanity-check/setup.sh b/test/csit/plans/vfc-nfvo-lcm/sanity-check/setup.sh
index 42a7f901e..fafbe8466 100755
--- a/test/csit/plans/vfc-nfvo-lcm/sanity-check/setup.sh
+++ b/test/csit/plans/vfc-nfvo-lcm/sanity-check/setup.sh
@@ -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
diff --git a/test/csit/tests/vfc/nfvo-lcm/test.robot b/test/csit/tests/vfc/nfvo-lcm/test.robot
index d0a5b7cd7..148856cb7 100644
--- a/test/csit/tests/vfc/nfvo-lcm/test.robot
+++ b/test/csit/tests/vfc/nfvo-lcm/test.robot
@@ -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}