Skip to content

Commit

Permalink
=htc disable fuzzing-mode by default in TestServer
Browse files Browse the repository at this point in the history
So I won't catch myself again and again measuring something with fuzzing on ;)
  • Loading branch information
ktoso committed Jan 7, 2016
1 parent b4f367e commit f4f75c4
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ object TestServer extends App {
val testConf: Config = ConfigFactory.parseString("""
akka.loglevel = INFO
akka.log-dead-letters = off
akka.stream.materializer.debug.fuzzing-mode = off
""")
implicit val system = ActorSystem("ServerTest", testConf)
implicit val fm = ActorMaterializer()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ import akka.http.scaladsl.Http
object TestServer extends App {
val testConf: Config = ConfigFactory.parseString("""
akka.loglevel = INFO
akka.log-dead-letters = off""")
akka.log-dead-letters = off
akka.stream.materializer.debug.fuzzing-mode = off
""")
implicit val system = ActorSystem("ServerTest", testConf)
import system.dispatcher
implicit val materializer = ActorMaterializer()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ private[akka] case class ActorMaterializerImpl(system: ActorSystem,

if (settings.fuzzingMode) {
_logger.warning("Fuzzing mode is enabled on this system. If you see this warning on your production system then " +
"set akka.materializer.debug.fuzzing-mode to off.")
"set akka.stream.materializer.debug.fuzzing-mode to off.")
}

override def shutdown(): Unit =
Expand Down

0 comments on commit f4f75c4

Please sign in to comment.