aboutsummaryrefslogtreecommitdiffstats
path: root/tests/dcaegen2/prh-testcases/resources/prh_library.robot
diff options
context:
space:
mode:
authorMarcin Migdal <marcin.migdal@nokia.com>2019-04-17 07:07:01 +0200
committerMarcin Migdal <marcin.migdal@nokia.com>2019-04-17 07:29:53 +0200
commit63104217173f8ed9159c595c67d3ed274c119b7c (patch)
treef069a1e6f7aed9312f1ffcb7ed7ef04d68eb399b /tests/dcaegen2/prh-testcases/resources/prh_library.robot
parentb8bbdab264894d1ec4c8d5f737e6b1b9ffc26942 (diff)
Attempt to check CSIT
Invalid VES in DMaaP Change-Id: Ief0bb5935200939c3d4329836f855a5d5b7cf59a Issue-ID: INT-989 Signed-off-by: Marcin Migdal <marcin.migdal@nokia.com>
Diffstat (limited to 'tests/dcaegen2/prh-testcases/resources/prh_library.robot')
-rw-r--r--tests/dcaegen2/prh-testcases/resources/prh_library.robot23
1 files changed, 11 insertions, 12 deletions
diff --git a/tests/dcaegen2/prh-testcases/resources/prh_library.robot b/tests/dcaegen2/prh-testcases/resources/prh_library.robot
index 7c486eab..29203ecd 100644
--- a/tests/dcaegen2/prh-testcases/resources/prh_library.robot
+++ b/tests/dcaegen2/prh-testcases/resources/prh_library.robot
@@ -22,16 +22,6 @@ Reset Simulators
Reset AAI simulator
Reset DMaaP simulator
-Invalid event processing
- [Arguments] ${input_invalid_event_in_dmaap}
- [Timeout] 30s
- ${data}= Get Data From File ${input_invalid_event_in_dmaap}
- Set event in DMaaP ${data}
- ${invalid_notification}= Create invalid notification ${data}
- ${notification}= Catenate SEPARATOR= \\n |Incorrect json, consumerDmaapModel can not be created: ${invalid_notification}
- #TODO to fix after CBS merge
- #Wait Until Keyword Succeeds 100x 100ms Check PRH log ${notification}
-
Valid event processing
[Arguments] ${input_valid__ves_event_in_dmaap} ${input_aai}
[Timeout] 150s
@@ -43,9 +33,18 @@ Valid event processing
Set PNF name in AAI ${pnf_name}
Set PNF content in AAI ${aai_entry_to_be_set}
${expected_event_pnf_ready_in_dpaap}= create pnf ready_notification as pnf ready ${data}
- #TODO to fix after CBS merge
Wait Until Keyword Succeeds 10x 3000ms Check PNF_READY notification ${expected_event_pnf_ready_in_dpaap}
- #Wait Until Keyword Succeeds 10x 3000ms Check PRH log Mandingo
+
+Invalid event processing
+ [Arguments] ${input_invalid_event_in_dmaap}
+ [Timeout] 150s
+ ${data}= Get Data From File ${input_invalid_event_in_dmaap}
+ Set event in DMaaP ${data}
+ ${invalid_notification}= Create invalid notification ${data}
+ ${notification}= Catenate SEPARATOR= \\n |Incorrect json, consumerDmaapModel can not be created: ${invalid_notification}
+ Wait Until Keyword Succeeds 100x 100ms Check PRH log ${notification}
+ #Wait Until Keyword Succeeds 100x 100ms Check PRH log ${notification}
+
Check PRH log
[Arguments] ${searched_log}