aboutsummaryrefslogtreecommitdiffstats
path: root/test/csit/tests/music/music-distributed-kv-store-suite/music-distributed-kv-store-test.robot
diff options
context:
space:
mode:
authorShashank Kumar Shankar <shashank.kumar.shankar@intel.com>2018-03-26 15:53:08 -0700
committerShashank Kumar Shankar <shashank.kumar.shankar@intel.com>2018-03-26 15:53:08 -0700
commit28db3d66f98afb2376e6d51d78b379811b9187ec (patch)
tree376ad8fdb2022315e07e50287514224a53682efa /test/csit/tests/music/music-distributed-kv-store-suite/music-distributed-kv-store-test.robot
parent857a5d3b79cf3393eed3f36d815f24327f1deed8 (diff)
Update CSIT for MUSIC distributed KV store
This patch makes minor updates to the recently merged music distributed KV store CSIT tests. Change-Id: I2d210ae318e1d516e71ddead044af4ee30242228 Issue-ID: INT-446 Signed-off-by: Shashank Kumar Shankar <shashank.kumar.shankar@intel.com>
Diffstat (limited to 'test/csit/tests/music/music-distributed-kv-store-suite/music-distributed-kv-store-test.robot')
-rw-r--r--test/csit/tests/music/music-distributed-kv-store-suite/music-distributed-kv-store-test.robot31
1 files changed, 19 insertions, 12 deletions
diff --git a/test/csit/tests/music/music-distributed-kv-store-suite/music-distributed-kv-store-test.robot b/test/csit/tests/music/music-distributed-kv-store-suite/music-distributed-kv-store-test.robot
index bf97fbf67..de26e5f6e 100644
--- a/test/csit/tests/music/music-distributed-kv-store-suite/music-distributed-kv-store-test.robot
+++ b/test/csit/tests/music/music-distributed-kv-store-suite/music-distributed-kv-store-test.robot
@@ -3,14 +3,21 @@ Library OperatingSystem
Library RequestsLibrary
Library json
-Check Distributed KV Store API Docker Container
+*** Variables ***
+${MESSAGE} {"ping": "ok"}
+
+#global variables
+${generatedAID}
+
+*** Test Cases ***
+DKV Check Distributed KV Store API Docker Container
[Documentation] Checks if DKV docker container is running
${rc} ${output}= Run and Return RC and Output docker ps
Log To Console *********************
Log To Console retrurn_code = ${rc}
Log To Console output = ${output}
Should Be Equal As Integers ${rc} 0
- Should Contain ${output} nexus3.onap.org:10003/onap/music/distributed-kv-store
+ Should Contain ${output} nexus3.onap.org:10001/onap/music/distributed-kv-store
DKV LoadDefaultProperties
[Documentation] Loads default configuration files into Consul
@@ -32,15 +39,15 @@ DKV FetchDefaultProperties
Log To Console body = ${resp.text}
Should Be Equal As Integers ${resp.status_code} 200
-DKV RegisterDomain
- [Documentation] Send a POST request to create a domain
- Create Session dkv ${DKV_HOSTNAME}:${DKV_PORT}
- ${data}= Get Binary File ${CURDIR}${/}data${/}register_domain.json
- &{headers}= Create Dictionary Content-Type=application/json Accept=application/json
- ${resp}= Post Request dkv v1/register data=${data} headers=${headers}
- Log To Console *********************
- Log To Console response = ${resp}
- Log To Console body = ${resp.text}
- Should Be Equal As Integers ${resp.status_code} 200
+#DKV RegisterDomain
+# [Documentation] Send a POST request to create a domain
+# Create Session dkv ${DKV_HOSTNAME}:${DKV_PORT}
+# ${data}= Get Binary File ${CURDIR}${/}data${/}register_domain.json
+# &{headers}= Create Dictionary Content-Type=application/json Accept=application/json
+# ${resp}= Post Request dkv v1/register data=${data} headers=${headers}
+# Log To Console *********************
+# Log To Console response = ${resp}
+# Log To Console body = ${resp.text}
+# Should Be Equal As Integers ${resp.status_code} 200
*** Keywords ***