aboutsummaryrefslogtreecommitdiffstats
path: root/test/csit
diff options
context:
space:
mode:
authorEthan Lynn <ethanlynnl@vmware.com>2017-09-14 01:37:41 +0800
committerEthan Lynn <ethanlynnl@vmware.com>2017-09-14 01:46:21 +0800
commit900c4e7df26912eb0db52156994b51212db056d6 (patch)
tree1ea6e0939fe68d8ec7d1b6500d321e4a7a3f8f3d /test/csit
parentef70d1cb326d84d53c0c66b0cd51bea723ffe4c8 (diff)
Update MultiCloud CSIT
Use docker image from ONAP repo. Change-Id: Ib3ec5a6554023ba7ae2d3ea899382899d9b46ba8 issue-id: MULTICLOUD-90 Signed-off-by: Ethan Lynn <ethanlynnl@vmware.com>
Diffstat (limited to 'test/csit')
-rwxr-xr-xtest/csit/plans/multicloud/functionality1/setup.sh13
-rwxr-xr-xtest/csit/plans/multicloud/functionality1/teardown.sh1
-rw-r--r--test/csit/tests/multicloud/provision/sanity_test_multivim.robot4
3 files changed, 5 insertions, 13 deletions
diff --git a/test/csit/plans/multicloud/functionality1/setup.sh b/test/csit/plans/multicloud/functionality1/setup.sh
index b43f4b856..993a39f68 100755
--- a/test/csit/plans/multicloud/functionality1/setup.sh
+++ b/test/csit/plans/multicloud/functionality1/setup.sh
@@ -17,17 +17,10 @@
# Place the scripts in run order:
# Start all process required for executing test case
-# start msb
-# Replace this when msb is ready for onap
-docker run -d --name i-msb -p 80:80 openoint/common-services-msb
-MSB_IP=`get-instance-ip.sh i-msb`
-
-# start esr
-# docker run -d --name i-esr -e MSB_ADDR=${MSB_IP}:80 openoint/common-services-extsys
+source ${SCRIPTS}/common_functions.sh
# start multivim-broker
-# Replace this when multivim-broker container is ready
-docker run -d --name multivim-broker -e MSB_ADDR=${MSB_IP}:80 openoint/multivim-broker
+docker run -d --name multivim-broker nexus3.onap.org:10001/onap/multicloud/framework
BROKER_IP=`get-instance-ip.sh multivim-broker`
for i in {1..50}; do
curl -sS ${BROKER_IP}:9001 && break
@@ -37,4 +30,4 @@ done
echo SCRIPTS
# Pass any variables required by Robot test suites in ROBOT_VARIABLES
-ROBOT_VARIABLES="-v MSB_IP:${MSB_IP}"
+ROBOT_VARIABLES="-v BROKER_IP:${BROKER_IP}"
diff --git a/test/csit/plans/multicloud/functionality1/teardown.sh b/test/csit/plans/multicloud/functionality1/teardown.sh
index 4ca6dbc99..1732649af 100755
--- a/test/csit/plans/multicloud/functionality1/teardown.sh
+++ b/test/csit/plans/multicloud/functionality1/teardown.sh
@@ -16,5 +16,4 @@
#
# This script is sourced by run-csit.sh after Robot test completion.
-kill-instance.sh i-msb
kill-instance.sh multivim-broker
diff --git a/test/csit/tests/multicloud/provision/sanity_test_multivim.robot b/test/csit/tests/multicloud/provision/sanity_test_multivim.robot
index 6dc57cc42..2c1ec3f9f 100644
--- a/test/csit/tests/multicloud/provision/sanity_test_multivim.robot
+++ b/test/csit/tests/multicloud/provision/sanity_test_multivim.robot
@@ -6,14 +6,14 @@ Library json
*** Variables ***
@{return_ok_list}= 200 201 202
-${queryswagger_broker_url} /openoapi/multivim/v1/swagger.json
+${queryswagger_broker_url} /api/multicloud/v0/swagger.json
*** Test Cases ***
BrokerSwaggerTest
[Documentation] query swagger info rest test
${headers} Create Dictionary Content-Type=application/json Accept=application/json
- Create Session web_session http://${MSB_IP} headers=${headers}
+ Create Session web_session http://${BROKER_IP}:9001 headers=${headers}
${resp}= Get Request web_session ${queryswagger_broker_url}
${responese_code}= Convert To String ${resp.status_code}
List Should Contain Value ${return_ok_list} ${responese_code}