summaryrefslogtreecommitdiffstats
path: root/hv-collector-main/src
diff options
context:
space:
mode:
authorPiotr Jaszczyk <piotr.jaszczyk@nokia.com>2018-10-03 10:33:40 +0200
committerPiotr Jaszczyk <piotr.jaszczyk@nokia.com>2018-10-03 13:23:36 +0200
commitde8e834e2bfc714e7a588f7470fe2ef7ba368275 (patch)
tree91c8f15bb5e4c5817a78c966da16a7717675b6c0 /hv-collector-main/src
parentfd44b433ac9825be6cc654e8a566f9d0bfc70166 (diff)
Change domain to lower case
Change-Id: I097def2ba720fafe0a1e1a88e87f8c03663627c9 Issue-ID: DCAEGEN2-847 Signed-off-by: Piotr Jaszczyk <piotr.jaszczyk@nokia.com>
Diffstat (limited to 'hv-collector-main/src')
-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 3fdb0b5b..a379933e 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("PERF3GPP")
+ 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("PERF3GPP")
+ 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("FAULT")
- cut.notifyMessageSent("PERF3GPP")
+ cut.notifyMessageSent("fault")
+ cut.notifyMessageSent("perf3gpp")
verifyGauge("messages.processing.count") { gauge ->
assertThat(gauge.value()).isCloseTo(0.0, doublePrecision)
}