Fix log checking in PRH so that only entries generated during test execution are... 85/91585/2
authorgrabinsk <maciej.grabinski@nokia.com>
Wed, 17 Jul 2019 06:43:33 +0000 (08:43 +0200)
committergrabinsk <maciej.grabinski@nokia.com>
Wed, 17 Jul 2019 09:59:53 +0000 (11:59 +0200)
commit3bee489508eb04738575c55b562f239afc062964
tree93f7d3e0e5cd030e665169bfa3d3fc5864644e76
parent67a402ee7fdbfb31c2cd1c5ca4a519910ed4cd21
Fix log checking in PRH so that only entries generated during test execution are taken into account.

- fixing "Should not send PNF ready when DMaaP event is not JSON array" test that was passing due to checking log entry generated by a previous test
- improving logs generated by keyword waiting for log entry
- changing 'find log entry' to 'wait for log entry' with explicit timeout setting
- adjusting timeouts for waiting for log entries to appear (20s is enough when prh workflow execution is scheduled every 10s)

Change-Id: I20c67dfce6e8d1809d24ddb3108a088b00165996
Issue-ID: DCAEGEN2-1544
Signed-off-by: grabinsk <maciej.grabinski@nokia.com>
tests/dcaegen2/prh-testcases/assets/ves-event-not-a-json-object/invalid-ves-event.json [new file with mode: 0644]
tests/dcaegen2/prh-testcases/assets/ves-event-not-array/invalid-ves-event.json [deleted file]
tests/dcaegen2/prh-testcases/prh_tests.robot
tests/dcaegen2/prh-testcases/resources/PrhLibrary.py
tests/dcaegen2/prh-testcases/resources/prh_library.robot