diff options
author | grabinsk <maciej.grabinski@nokia.com> | 2019-05-06 11:26:25 +0200 |
---|---|---|
committer | grabinsk <maciej.grabinski@nokia.com> | 2019-05-06 13:13:21 +0200 |
commit | 78ef07a83d132389746f05eef6e83e5ba301b07c (patch) | |
tree | 5f64e994e817932db9b54391178aa9f3e7bb9a82 /tests/dcaegen2 | |
parent | 01d879b618660bbbdfb9398400f55e128263201b (diff) |
Checking that CBS is registered in consul
Change-Id: I9bd1e275d7212aab09a43a654a2f10af389c28d6
Issue-ID: INT-989
Signed-off-by: grabinsk <maciej.grabinski@nokia.com>
Diffstat (limited to 'tests/dcaegen2')
-rw-r--r-- | tests/dcaegen2/prh-testcases/resources/prh_library.robot | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/dcaegen2/prh-testcases/resources/prh_library.robot b/tests/dcaegen2/prh-testcases/resources/prh_library.robot index 74c3c5d2..0727169d 100644 --- a/tests/dcaegen2/prh-testcases/resources/prh_library.robot +++ b/tests/dcaegen2/prh-testcases/resources/prh_library.robot @@ -1,5 +1,6 @@ *** Settings *** Library RequestsLibrary +Library Collections Library PrhLibrary.py Resource ../../../common.robot @@ -54,9 +55,10 @@ Verify AAI not responding is logged Ensure Container Is Running aai_simulator Check CBS ready - ${resp}= Get Request ${consul_setup_session} /v1/catalog/service/cbs + ${resp}= Get Request ${consul_setup_session} /v1/catalog/services Should Be Equal As Strings ${resp.status_code} 200 - Log CBS ${resp.content} + Log Service Catalog response: ${resp.content} + Dictionary Should Contain Key ${resp.json()} cbs |Consul service catalog should contain CBS entry Check recorded PNF_READY notification [Arguments] ${expected_event_pnf_ready_in_dpaap} |