diff options
author | Gary Wu <gary.i.wu@huawei.com> | 2019-04-30 15:13:21 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-04-30 15:13:21 +0000 |
commit | 1e56a0a965fa919bd6c6ed1d06dc30295bfe003c (patch) | |
tree | 62dd5b5cc710023e63d1c73d811f5a6c6cd8de92 /tests | |
parent | 751f6fb9c4c221a43112591edce4d864d426ae30 (diff) | |
parent | ee954036de51e64ca79f9a2a09bedab467fd5c91 (diff) |
Merge "Attempt to check CSIT Case: Event in DMaaP is not in JSON format"
Diffstat (limited to 'tests')
-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 0353e119..74c3c5d2 100644 --- a/tests/dcaegen2/prh-testcases/resources/prh_library.robot +++ b/tests/dcaegen2/prh-testcases/resources/prh_library.robot @@ -32,10 +32,10 @@ Verify incorrect JSON event is logged [Arguments] ${test_case_directory} ${invalid_ves_event}= Get Data From File ${test_case_directory}/invalid-ves-event.json Set VES event in DMaaP ${invalid_ves_event} - # TODO hangs build - #Wait Until Keyword Succeeds 10x 3000ms Check PRH log |java.lang.IllegalStateException: Not a JSON Array: + Wait Until Keyword Succeeds 10x 3000ms Check PRH log |Element is neither JSON Object or Array Verify missing AAI record is logged + [Timeout] 100s [Arguments] ${test_case_directory} ${incorrect_aai_entry}= Get Data From File ${test_case_directory}/incorrect-aai-entry.json ${ves_event}= Get Data From File ${test_case_directory}/ves-event.json @@ -45,6 +45,7 @@ Verify missing AAI record is logged Wait Until Keyword Succeeds 10x 3000ms Check PRH log |Chain of tasks have been aborted due to errors in PRH workflow Verify AAI not responding is logged + [Timeout] 100s [Arguments] ${test_case_directory} ${ves_event}= Get Data From File ${test_case_directory}/ves-event.json Ensure Container Is Exited aai_simulator @@ -103,6 +104,7 @@ Create sessions Set Suite Variable ${aai_setup_session} aai_setup_session Create Session consul_setup_session ${CONSUL_SETUP_URL} Set Suite Variable ${consul_setup_session} consul_setup_session + Sleep 120s Reset Simulators Reset AAI simulator |