aboutsummaryrefslogtreecommitdiff
path: root/kamon-core-tests
diff options
context:
space:
mode:
authorIvan Topolnjak <ivantopo@gmail.com>2018-09-28 13:07:41 +0200
committerIvan Topolnjak <ivantopo@gmail.com>2018-09-28 13:07:41 +0200
commitce1424715f91beda67fd5f4da705d9b096147ca0 (patch)
tree6901219c5ec9002a9a0ca3e96b9e3d091404724e /kamon-core-tests
parentef13e73e9284ebb92286e5947805fa619862e26f (diff)
downloadKamon-ce1424715f91beda67fd5f4da705d9b096147ca0.tar.gz
Kamon-ce1424715f91beda67fd5f4da705d9b096147ca0.tar.bz2
Kamon-ce1424715f91beda67fd5f4da705d9b096147ca0.zip
cleanup the context propagation section on the configuration file
Diffstat (limited to 'kamon-core-tests')
-rw-r--r--kamon-core-tests/src/test/scala/kamon/trace/B3SpanPropagationSpec.scala (renamed from kamon-core-tests/src/test/scala/kamon/trace/B3SpanCodecSpec.scala)6
1 files changed, 3 insertions, 3 deletions
diff --git a/kamon-core-tests/src/test/scala/kamon/trace/B3SpanCodecSpec.scala b/kamon-core-tests/src/test/scala/kamon/trace/B3SpanPropagationSpec.scala
index 73de22bb..5b912b92 100644
--- a/kamon-core-tests/src/test/scala/kamon/trace/B3SpanCodecSpec.scala
+++ b/kamon-core-tests/src/test/scala/kamon/trace/B3SpanPropagationSpec.scala
@@ -25,8 +25,8 @@ import org.scalatest.{Matchers, OptionValues, WordSpecLike}
import scala.collection.mutable
-class B3SpanCodecSpec extends WordSpecLike with Matchers with OptionValues with SpanBuilding {
- val b3Propagation = SpanCodec.B3()
+class B3SpanPropagationSpec extends WordSpecLike with Matchers with OptionValues with SpanBuilding {
+ val b3Propagation = SpanPropagation.B3()
"The B3 Span propagation for HTTP" should {
"write the Span data into headers" in {
@@ -61,7 +61,7 @@ class B3SpanCodecSpec extends WordSpecLike with Matchers with OptionValues with
"X-B3-ParentSpanId" -> "2222",
"X-B3-SpanId" -> "4321",
"X-B3-Sampled" -> "1",
- "X-B3-Extra-Baggage" -> "some=baggage;more=baggage",
+ "X-B3-Extra-Baggage" -> "some=baggage;more=baggage"
)
val spanContext = b3Propagation.read(headerReaderFromMap(headersMap), Context.Empty).get(Span.ContextKey).context()