From fef3f74240fc715e2a9eba75bd1c65680655ea5a Mon Sep 17 00:00:00 2001 From: fujinhua Date: Sat, 9 Sep 2017 15:55:18 +0800 Subject: 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 --- test/csit/plans/vfc-nfvo-lcm/sanity-check/setup.sh | 2 +- test/csit/tests/vfc/nfvo-lcm/test.robot | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'test') 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} -- cgit 1.2.3-korg