From a42f86e38b9c8b3496a74fc23ae5d3fda3ce0e2c Mon Sep 17 00:00:00 2001 From: Kiran Kamineni Date: Tue, 17 Apr 2018 11:58:21 -0700 Subject: Fix CSIT which broke because of AAF-168 AAF-168 broke CSIT test for SMS. This should fix it. Also updated the versions of vault being used Issue-ID: AAF-251 Change-Id: I154191c515d932c1aac24b34fd7946835ad26fac Signed-off-by: Kiran Kamineni --- test/csit/plans/aaf/sms-test-plan/setup.sh | 4 ++-- test/csit/plans/aaf/sms-test-plan/teardown.sh | 2 +- test/csit/tests/aaf/aaf-sms-suite/aaf-sms-test.robot | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/test/csit/plans/aaf/sms-test-plan/setup.sh b/test/csit/plans/aaf/sms-test-plan/setup.sh index 9f77b698e..9b57d64c4 100755 --- a/test/csit/plans/aaf/sms-test-plan/setup.sh +++ b/test/csit/plans/aaf/sms-test-plan/setup.sh @@ -24,7 +24,7 @@ mkdir -p $(pwd)/config docker login -u docker -p docker nexus3.onap.org:10001 docker pull nexus3.onap.org:10001/onap/aaf/sms -docker pull docker.io/vault:0.9.5 +docker pull docker.io/vault:0.10.0 # # Running vault in dev server mode here for CSIT @@ -32,7 +32,7 @@ docker pull docker.io/vault:0.9.5 # docker run -e "VAULT_DEV_ROOT_TOKEN_ID=aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee" \ -e SKIP_SETCAP=true \ - --name vault -d -p 8200:8200 vault:0.9.5 + --name vault -d -p 8200:8200 vault:0.10.0 SMSDB_IP=$(docker inspect --format='{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' vault) cat << EOF > $CONFIG_FILE diff --git a/test/csit/plans/aaf/sms-test-plan/teardown.sh b/test/csit/plans/aaf/sms-test-plan/teardown.sh index d6fa32924..2c8b3e894 100644 --- a/test/csit/plans/aaf/sms-test-plan/teardown.sh +++ b/test/csit/plans/aaf/sms-test-plan/teardown.sh @@ -22,4 +22,4 @@ rm -rf config docker stop sms vault docker rm sms vault docker rmi nexus3.onap.org:10001/onap/aaf/sms -docker rmi docker.io/vault:0.9.5 +docker rmi docker.io/vault:0.10.0 diff --git a/test/csit/tests/aaf/aaf-sms-suite/aaf-sms-test.robot b/test/csit/tests/aaf/aaf-sms-suite/aaf-sms-test.robot index 1302abc79..dae48a9f5 100644 --- a/test/csit/tests/aaf/aaf-sms-suite/aaf-sms-test.robot +++ b/test/csit/tests/aaf/aaf-sms-suite/aaf-sms-test.robot @@ -23,7 +23,7 @@ SMS GetStatus [Documentation] Gets Backend Status Create Session SMS ${SMS_HOSTNAME}:${SMS_PORT} &{headers}= Create Dictionary Content-Type=application/json Accept=application/json - ${resp}= Get Request SMS /v1/sms/status headers=${headers} + ${resp}= Get Request SMS /v1/sms/quorum/status headers=${headers} Log To Console ********************* Log To Console response = ${resp} Log To Console body = ${resp.text} -- cgit 1.2.3-korg