aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego <diegolparra@gmail.com>2014-05-14 00:23:05 -0300
committerDiego <diegolparra@gmail.com>2014-05-14 00:23:05 -0300
commit264e4e35692bbefafd376bc9c87ccbf5ab1c824c (patch)
tree772055719ea5b5d5fec72003f8a93b7e032f4d6e
parent7bfc8d29253316289dba6d791126a6d95a0628fb (diff)
downloadKamon-264e4e35692bbefafd376bc9c87ccbf5ab1c824c.tar.gz
Kamon-264e4e35692bbefafd376bc9c87ccbf5ab1c824c.tar.bz2
Kamon-264e4e35692bbefafd376bc9c87ccbf5ab1c824c.zip
+ statsd: fixed StatsDMetricSenderSpec
-rw-r--r--kamon-statsd/src/test/scala/kamon/statsd/StatsDMetricSenderSpec.scala10
1 files changed, 5 insertions, 5 deletions
diff --git a/kamon-statsd/src/test/scala/kamon/statsd/StatsDMetricSenderSpec.scala b/kamon-statsd/src/test/scala/kamon/statsd/StatsDMetricSenderSpec.scala
index fb8fe9aa..3cf0a00c 100644
--- a/kamon-statsd/src/test/scala/kamon/statsd/StatsDMetricSenderSpec.scala
+++ b/kamon-statsd/src/test/scala/kamon/statsd/StatsDMetricSenderSpec.scala
@@ -1,6 +1,6 @@
/*
* =========================================================================================
- * Copyright © 2013 the kamon project <http://kamon.io/>
+ * Copyright © 2013-2014 the kamon project <http://kamon.io/>
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of the License at
@@ -93,11 +93,11 @@ class StatsDMetricSenderSpec extends TestKitBase with WordSpecLike with Matchers
}
"render multiple keys in the same packet using newline as separator" in new UdpListenerFixture {
- val firstTestMetricName = "first-test-metric"
+ val firstTestMetricName = "first-metric"
val firstTestMetricKey = buildMetricKey(firstTestMetricName)
- val secondTestMetricName = "second-test-metric"
+ val secondTestMetricName = "second-metric"
val secondTestMetricKey = buildMetricKey(secondTestMetricName)
- val thirdTestMetricName = "third-test-metric"
+ val thirdTestMetricName = "third-metric"
val thirdTestMetricKey = buildMetricKey(thirdTestMetricName)
val firstTestRecorder = HdrRecorder(1000L, 2, Scale.Unit)
@@ -122,7 +122,7 @@ class StatsDMetricSenderSpec extends TestKitBase with WordSpecLike with Matchers
thirdTestMetricName -> thirdTestRecorder.collect()))
val Udp.Send(data, _, _) = udp.expectMsgType[Udp.Send]
- //data.utf8String should be(s"$firstTestMetricKey:10|ms|@0.5:11|ms\n$secondTestMetricKey:20|ms:21|ms\n$thirdTestMetricKey:4|c")
+ data.utf8String should be(s"$firstTestMetricKey:10|ms|@0.5:11|ms\n$secondTestMetricKey:20|ms:21|ms\n$thirdTestMetricKey:4|c")
}
}