diff options
author | grabinsk <maciej.grabinski@nokia.com> | 2019-07-17 08:43:33 +0200 |
---|---|---|
committer | grabinsk <maciej.grabinski@nokia.com> | 2019-07-17 11:59:53 +0200 |
commit | 3bee489508eb04738575c55b562f239afc062964 (patch) | |
tree | 93f7d3e0e5cd030e665169bfa3d3fc5864644e76 /tests/dcaegen2/prh-testcases/assets/ves-event-not-array | |
parent | 67a402ee7fdbfb31c2cd1c5ca4a519910ed4cd21 (diff) |
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>
Diffstat (limited to 'tests/dcaegen2/prh-testcases/assets/ves-event-not-array')
-rw-r--r-- | tests/dcaegen2/prh-testcases/assets/ves-event-not-array/invalid-ves-event.json | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/tests/dcaegen2/prh-testcases/assets/ves-event-not-array/invalid-ves-event.json b/tests/dcaegen2/prh-testcases/assets/ves-event-not-array/invalid-ves-event.json deleted file mode 100644 index cc6502fd..00000000 --- a/tests/dcaegen2/prh-testcases/assets/ves-event-not-array/invalid-ves-event.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "event": { - "commonEventHeader": { - "sourceName":"NOK6061ZW1" - }, - "pnfRegistrationFields": { - "oamV4IpAddress":"10.16.123.234", - "oamV6IpAddress":"2001:0db8:85a3:0000:0000:8a2e:0370:7334", - "serialNumber":"NOkkaaa123", - "vendorName":"equipVendor", - "modelNumber":"equipModel", - "unitType":"equipType" - } - } -} |