diff options
author | Murali <murali.p@huawei.com> | 2017-09-01 06:41:42 +0000 |
---|---|---|
committer | Murali <murali.p@huawei.com> | 2017-09-01 06:41:42 +0000 |
commit | a8a9e9466caaddf1d4d58cb0d6167f01a0486c49 (patch) | |
tree | 0650926d7ff64aa59d3a6a312c5ef19f90ddb9a7 /test | |
parent | a3949e28940263815eb2793e7cae602d70a29290 (diff) |
Fix csit test cases for refrepo
Change-Id: Ida410fa6b971adadc1800dad7effdf18682f3577
Jira:VNFSDK-34
Signed-off-by: Murali <murali.p@huawei.com>
Diffstat (limited to 'test')
3 files changed, 8 insertions, 7 deletions
diff --git a/test/csit/plans/vnfsdk-refrepo/sanity-check/setup.sh b/test/csit/plans/vnfsdk-refrepo/sanity-check/setup.sh index 85c6bc275..b54ea56ad 100644 --- a/test/csit/plans/vnfsdk-refrepo/sanity-check/setup.sh +++ b/test/csit/plans/vnfsdk-refrepo/sanity-check/setup.sh @@ -19,12 +19,12 @@ #Start market place -docker run -d -i -t --name=vnfmarket -p 8702:8702 onap/vnfmarket +docker run -d -i -t --name=refrepo -p 8702:8702 nexus3.onap.org:10001/onap/refrepo:1.0-STAGING-latest -REPO_IP=`docker inspect --format '{{ .NetworkSettings.IPAddress }}' vnfmarket` +REPO_IP=`docker inspect --format '{{ .NetworkSettings.IPAddress }}' refrepo` # Pass any variables required by Robot test suites in ROBOT_VARIABLES -ROBOT_VARIABLES="-v REPO_IP:${REPO_IP}" - +ROBOT_VARIABLES="-v SCRIPTS:{SCRIPTS} -v REPO_IP:${REPO_IP}" +echo ${ROBOT_VARIABLES} diff --git a/test/csit/plans/vnfsdk-refrepo/sanity-check/teardown.sh b/test/csit/plans/vnfsdk-refrepo/sanity-check/teardown.sh index 42d7b7fd4..a42634303 100644 --- a/test/csit/plans/vnfsdk-refrepo/sanity-check/teardown.sh +++ b/test/csit/plans/vnfsdk-refrepo/sanity-check/teardown.sh @@ -17,5 +17,5 @@ # This script is sourced by run-csit.sh after Robot test completion. -kill-instance.sh vnfmarket +kill-instance.sh refrepo diff --git a/test/csit/tests/vnfsdk-marketplace/provision/sanity_test_vnfsdktestfunction.robot b/test/csit/tests/vnfsdk-marketplace/provision/sanity_test_vnfsdktestfunction.robot index cff6b58da..473415eab 100644 --- a/test/csit/tests/vnfsdk-marketplace/provision/sanity_test_vnfsdktestfunction.robot +++ b/test/csit/tests/vnfsdk-marketplace/provision/sanity_test_vnfsdktestfunction.robot @@ -4,8 +4,8 @@ Library Process *** Variables *** -${csarpath} enterprise2DC.csar -${upload} uploadCSAR.sh +${csarpath} ${SCRIPTS}/../tests/vnfsdk-marketplace/provision/enterprise2DC.csar +${upload} ${SCRIPTS}/../tests/vnfsdk-marketplace/provision/uploadCSAR.sh *** Test Cases *** @@ -13,4 +13,5 @@ ${upload} uploadCSAR.sh E2E Test case for VNF SDK [Documentation] Upload the VNF Package ${status}= Run Process bash ${upload} ${REPO_IP} ${csarpath} > log.txt shell=yes + Log Status is ${status} |