aboutsummaryrefslogtreecommitdiffstats
path: root/hv-collector-main/src/test/kotlin
diff options
context:
space:
mode:
authorPiotr Jaszczyk <piotr.jaszczyk@nokia.com>2018-10-01 07:54:26 +0200
committerPiotr Jaszczyk <piotr.jaszczyk@nokia.com>2018-10-01 08:16:05 +0200
commitfd44b433ac9825be6cc654e8a566f9d0bfc70166 (patch)
treef720c9d891bc43ee1abbb4662a72d1b942f31d47 /hv-collector-main/src/test/kotlin
parent069dcc194fd049e1c52e60d03ce2a9c0553289a7 (diff)
HV-VES Domain update
Change domain name. In this project this yields following changes: * Comment change in VesEvent proto * Updated measurements proto (kept as documentation only, ie. not used in the collector) * Update name in test scenarios for unit and component scope Change-Id: I719077b5fcb642c067d25b7aa174a2e629404689 Issue-ID: DCAEGEN2-847 Signed-off-by: Piotr Jaszczyk <piotr.jaszczyk@nokia.com>
Diffstat (limited to 'hv-collector-main/src/test/kotlin')
-rw-r--r--hv-collector-main/src/test/kotlin/org/onap/dcae/collectors/veshv/main/MicrometerMetricsTest.kt8
1 files changed, 4 insertions, 4 deletions
diff --git a/hv-collector-main/src/test/kotlin/org/onap/dcae/collectors/veshv/main/MicrometerMetricsTest.kt b/hv-collector-main/src/test/kotlin/org/onap/dcae/collectors/veshv/main/MicrometerMetricsTest.kt
index 675647c4..3fdb0b5b 100644
--- a/hv-collector-main/src/test/kotlin/org/onap/dcae/collectors/veshv/main/MicrometerMetricsTest.kt
+++ b/hv-collector-main/src/test/kotlin/org/onap/dcae/collectors/veshv/main/MicrometerMetricsTest.kt
@@ -163,7 +163,7 @@ object MicrometerMetricsTest : Spek({
cut.notifyMessageReceived(128)
cut.notifyMessageReceived(256)
cut.notifyMessageReceived(256)
- cut.notifyMessageSent("hvranmeas")
+ cut.notifyMessageSent("PERF3GPP")
verifyGauge("messages.processing.count") { gauge ->
assertThat(gauge.value()).isCloseTo(2.0, doublePrecision)
}
@@ -171,7 +171,7 @@ object MicrometerMetricsTest : Spek({
on("zero difference") {
cut.notifyMessageReceived(128)
- cut.notifyMessageSent("hvranmeas")
+ cut.notifyMessageSent("PERF3GPP")
verifyGauge("messages.processing.count") { gauge ->
assertThat(gauge.value()).isCloseTo(0.0, doublePrecision)
}
@@ -179,8 +179,8 @@ object MicrometerMetricsTest : Spek({
on("negative difference") {
cut.notifyMessageReceived(128)
- cut.notifyMessageSent("calltrace")
- cut.notifyMessageSent("hvranmeas")
+ cut.notifyMessageSent("FAULT")
+ cut.notifyMessageSent("PERF3GPP")
verifyGauge("messages.processing.count") { gauge ->
assertThat(gauge.value()).isCloseTo(0.0, doublePrecision)
}