aboutsummaryrefslogtreecommitdiff
path: root/kamon-core-tests/src/test/scala/kamon/context/ContextSerializationSpec.scala
diff options
context:
space:
mode:
authorIvan Topolnjak <ivantopo@gmail.com>2018-09-28 12:08:24 +0200
committerIvan Topolnjak <ivantopo@gmail.com>2018-09-28 12:08:24 +0200
commitb61c92ea3589450fd097ab79420230b61b458ae4 (patch)
tree1db5629ec257e41e3fff0bbd50eabdc45bb05d7d /kamon-core-tests/src/test/scala/kamon/context/ContextSerializationSpec.scala
parent6941f53c79bb4ad8adb5ebc4bcc3a3c44d02e353 (diff)
downloadKamon-b61c92ea3589450fd097ab79420230b61b458ae4.tar.gz
Kamon-b61c92ea3589450fd097ab79420230b61b458ae4.tar.bz2
Kamon-b61c92ea3589450fd097ab79420230b61b458ae4.zip
cleanup HTTP propagation, introduce a new Binary propagation
Diffstat (limited to 'kamon-core-tests/src/test/scala/kamon/context/ContextSerializationSpec.scala')
-rw-r--r--kamon-core-tests/src/test/scala/kamon/context/ContextSerializationSpec.scala50
1 files changed, 25 insertions, 25 deletions
diff --git a/kamon-core-tests/src/test/scala/kamon/context/ContextSerializationSpec.scala b/kamon-core-tests/src/test/scala/kamon/context/ContextSerializationSpec.scala
index 22400fa9..7ffb0838 100644
--- a/kamon-core-tests/src/test/scala/kamon/context/ContextSerializationSpec.scala
+++ b/kamon-core-tests/src/test/scala/kamon/context/ContextSerializationSpec.scala
@@ -22,29 +22,29 @@ import kamon.testkit.ContextTesting
import org.scalatest.{Matchers, OptionValues, WordSpec}
class ContextSerializationSpec extends WordSpec with Matchers with ContextTesting with OptionValues {
- "the Context is Serializable" ignore {
- "empty " in {
- val bos = new ByteArrayOutputStream()
- val oos = new ObjectOutputStream(bos)
- oos.writeObject(Context.Empty)
-
- val ois = new ObjectInputStream(new ByteArrayInputStream(bos.toByteArray))
- val ctx = ois.readObject().asInstanceOf[Context]
- ctx shouldBe Context.Empty
- }
-
- "full" in {
- val sCtx = Context.of(StringBroadcastKey, Some("disi"))
- val bos = new ByteArrayOutputStream()
- val oos = new ObjectOutputStream(bos)
- oos.writeObject(sCtx)
-
- val ois = new ObjectInputStream(new ByteArrayInputStream(bos.toByteArray))
- val rCtx = ois.readObject().asInstanceOf[Context]
- rCtx shouldBe sCtx
- }
-
- }
-
- val ContextCodec = new Codecs(Kamon.config())
+// "the Context is Serializable" ignore {
+// "empty " in {
+// val bos = new ByteArrayOutputStream()
+// val oos = new ObjectOutputStream(bos)
+// oos.writeObject(Context.Empty)
+//
+// val ois = new ObjectInputStream(new ByteArrayInputStream(bos.toByteArray))
+// val ctx = ois.readObject().asInstanceOf[Context]
+// ctx shouldBe Context.Empty
+// }
+//
+// "full" in {
+// val sCtx = Context.of(StringBroadcastKey, Some("disi"))
+// val bos = new ByteArrayOutputStream()
+// val oos = new ObjectOutputStream(bos)
+// oos.writeObject(sCtx)
+//
+// val ois = new ObjectInputStream(new ByteArrayInputStream(bos.toByteArray))
+// val rCtx = ois.readObject().asInstanceOf[Context]
+// rCtx shouldBe sCtx
+// }
+//
+// }
+//
+// val ContextCodec = new Codecs(Kamon.config())
} \ No newline at end of file