diff options
author | Ivan Topolnjak <ivantopo@gmail.com> | 2017-07-19 16:46:39 +0200 |
---|---|---|
committer | Ivan Topolnjak <ivantopo@gmail.com> | 2017-07-19 18:56:35 +0200 |
commit | 450978b92bc968bfdb9c6470028ad30586433609 (patch) | |
tree | f7e4bd80b69a26da86da77466cd358c16fc9f4d5 /kamon-core/src/test/scala | |
parent | 5ee1b830aff118dc264399ddfb92c1f2b1f51a85 (diff) | |
download | Kamon-450978b92bc968bfdb9c6470028ad30586433609.tar.gz Kamon-450978b92bc968bfdb9c6470028ad30586433609.tar.bz2 Kamon-450978b92bc968bfdb9c6470028ad30586433609.zip |
accept Option[SpanContext] as parent in SpanBuilder
Diffstat (limited to 'kamon-core/src/test/scala')
-rw-r--r-- | kamon-core/src/test/scala/kamon/trace/RealSpanSpec.scala | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/kamon-core/src/test/scala/kamon/trace/RealSpanSpec.scala b/kamon-core/src/test/scala/kamon/trace/RealSpanSpec.scala index 61e651c2..db283d43 100644 --- a/kamon-core/src/test/scala/kamon/trace/RealSpanSpec.scala +++ b/kamon-core/src/test/scala/kamon/trace/RealSpanSpec.scala @@ -12,17 +12,18 @@ class RealSpanSpec extends WordSpec with Matchers with BeforeAndAfterAll with Ev "a real span" when { "sampled" should { "be sent to the Span reporters" in { - Kamon.buildSpan("test-span") .withSpanTag("test", "value") .start() .finish() - eventually(timeout(50 milliseconds)) { + eventually(timeout(10 seconds)) { val finishedSpan = reporter.nextSpan().value finishedSpan.operationName shouldBe("test-span") } } + + } } |