aboutsummaryrefslogtreecommitdiffstats
path: root/sources/hv-collector-test-utils
diff options
context:
space:
mode:
authorPiotr Jaszczyk <piotr.jaszczyk@nokia.com>2018-12-17 13:22:52 +0100
committerPiotr Jaszczyk <piotr.jaszczyk@nokia.com>2018-12-18 11:00:12 +0100
commit30488f1922f789c5b8e18934456968aa354c9671 (patch)
tree48716d0c7d48c55931828bdc056083da838e4796 /sources/hv-collector-test-utils
parent8c180a2101f54d7cc0e3527c2bbe23390eea9cef (diff)
Metric: Message latency
Defined as a difference between now and vesHeader.lastEpochTime. Change-Id: I4aa97e8efc13cb0039fde38b4fd2aa6411c7b89a Issue-ID: DCAEGEN2-1036 Signed-off-by: Piotr Jaszczyk <piotr.jaszczyk@nokia.com>
Diffstat (limited to 'sources/hv-collector-test-utils')
-rw-r--r--sources/hv-collector-test-utils/src/main/kotlin/org/onap/dcae/collectors/veshv/tests/utils/vesEvents.kt4
1 files changed, 2 insertions, 2 deletions
diff --git a/sources/hv-collector-test-utils/src/main/kotlin/org/onap/dcae/collectors/veshv/tests/utils/vesEvents.kt b/sources/hv-collector-test-utils/src/main/kotlin/org/onap/dcae/collectors/veshv/tests/utils/vesEvents.kt
index a8456890..ed0cab63 100644
--- a/sources/hv-collector-test-utils/src/main/kotlin/org/onap/dcae/collectors/veshv/tests/utils/vesEvents.kt
+++ b/sources/hv-collector-test-utils/src/main/kotlin/org/onap/dcae/collectors/veshv/tests/utils/vesEvents.kt
@@ -61,8 +61,8 @@ fun commonHeader(domain: VesEventDomain = PERF3GPP,
.setEventId(id)
.setEventName("sample-event-name")
.setEventType("sample-event-type")
- .setStartEpochMicrosec(120034455)
- .setLastEpochMicrosec(120034455)
+ .setStartEpochMicrosec(100000000)
+ .setLastEpochMicrosec(100000005)
.setNfNamingCode("sample-nf-naming-code")
.setNfcNamingCode("sample-nfc-naming-code")
.setNfVendorName("vendor-name")