diff options
author | Ivan Topolnjak <ivantopo@gmail.com> | 2015-07-17 18:46:40 +0200 |
---|---|---|
committer | Ivan Topolnjak <ivantopo@gmail.com> | 2015-08-24 13:31:05 +0200 |
commit | cfb25accce7ad5b0592a206addc872b0d9242bd9 (patch) | |
tree | 4536a5a61997233b1ed98258bcd2b25b83a391d6 /kamon-core/src/test | |
parent | dd9fec8b235b055b7a513ac74710618ba23532a5 (diff) | |
download | Kamon-cfb25accce7ad5b0592a206addc872b0d9242bd9.tar.gz Kamon-cfb25accce7ad5b0592a206addc872b0d9242bd9.tar.bz2 Kamon-cfb25accce7ad5b0592a206addc872b0d9242bd9.zip |
+ core: introduce auto-start feature to make Kamon more test-friendly, related to #202.
Diffstat (limited to 'kamon-core/src/test')
-rw-r--r-- | kamon-core/src/test/scala/kamon/testkit/BaseKamonSpec.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kamon-core/src/test/scala/kamon/testkit/BaseKamonSpec.scala b/kamon-core/src/test/scala/kamon/testkit/BaseKamonSpec.scala index cb909ad9..61cc4e6b 100644 --- a/kamon-core/src/test/scala/kamon/testkit/BaseKamonSpec.scala +++ b/kamon-core/src/test/scala/kamon/testkit/BaseKamonSpec.scala @@ -28,7 +28,7 @@ import org.scalatest.{ BeforeAndAfterAll, Matchers, WordSpecLike } abstract class BaseKamonSpec(actorSystemName: String) extends TestKitBase with WordSpecLike with Matchers with ImplicitSender with BeforeAndAfterAll { lazy val collectionContext = Kamon.metrics.buildDefaultCollectionContext implicit lazy val system: ActorSystem = { - Kamon.start(config.withFallback(ConfigFactory.load())) + //Kamon.start(config.withFallback(ConfigFactory.load())) ActorSystem(actorSystemName, config) } |