aboutsummaryrefslogtreecommitdiffstats
path: root/tests/dcaegen2/prh-testcases/resources
diff options
context:
space:
mode:
authorMarcin Migdal <marcin.migdal@nokia.com>2019-04-30 12:23:29 +0200
committerMarcin Migdal <marcin.migdal@nokia.com>2019-04-30 15:53:31 +0200
commitee954036de51e64ca79f9a2a09bedab467fd5c91 (patch)
tree771759dbb0f37408aa334882c8312f187c484b77 /tests/dcaegen2/prh-testcases/resources
parentb11dcc7aa6b5ce7867524ed851855accf403e964 (diff)
Attempt to check CSIT
Case: Event in DMaaP is not in JSON format Change-Id: I8eac18c9119c9337e05feccc986367dcd50589a8 Issue-ID: INT-989 Signed-off-by: Marcin Migdal <marcin.migdal@nokia.com>
Diffstat (limited to 'tests/dcaegen2/prh-testcases/resources')
-rw-r--r--tests/dcaegen2/prh-testcases/resources/prh_library.robot6
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