=str 20967 print stream state on test failed (#21003)

This commit is contained in:
Alexander Golubev 2016-07-22 04:03:26 -04:00 committed by Konrad Malawski
parent 14bfc353ba
commit e0d73187bd
7 changed files with 54 additions and 19 deletions

View file

@ -283,8 +283,8 @@ class FlowNames extends Extension {
object StreamSupervisor {
def props(settings: ActorMaterializerSettings, haveShutDown: AtomicBoolean): Props =
Props(new StreamSupervisor(settings, haveShutDown)).withDeploy(Deploy.local)
private val actorName = SeqActorName("StreamSupervisor")
private[stream] val baseName = "StreamSupervisor"
private val actorName = SeqActorName(baseName)
def nextName(): String = actorName.next()
final case class Materialize(props: Props, name: String)