Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ class StageActorRefSpec extends StreamSpec with ImplicitSender {
stageRef ! PoisonPill // should log a warning, and NOT stop the stage.
val actorName = """StageActorRef-[\d+]"""
val expectedMsg =
s"[PoisonPill|Kill] message sent to StageActorRef($actorName) will be ignored,since it is not a real Actor. " +
s"[PoisonPill|Kill] message sent to StageActorRef($actorName) will be ignored, since it is not a real Actor. " +
"Use a custom message type to communicate with it instead."
expectMsgPF(1.second, expectedMsg) {
case Logging.Warning(_, _, msg) => expectedMsg.r.pattern.matcher(msg.toString).matches()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ object GraphStageLogic {
val f: (ActorRef, Any) => Unit = {
case (_, m @ (PoisonPill | Kill)) =>
materializer.logger.warning(
"{} message sent to StageActor({}) will be ignored, since it is not a real Actor." +
"{} message sent to StageActor({}) will be ignored, since it is not a real Actor. " +
"Use a custom message type to communicate with it instead.",
m,
functionRef.path)
Expand Down