migrate Fold, Sliding, Grouped to GraphStage (#20914)

This commit is contained in:
zhxiaog 2016-07-08 14:22:18 +02:00 committed by Konrad Malawski
parent 19f6c0c61c
commit 9683e4bc58
6 changed files with 154 additions and 100 deletions

View file

@ -128,7 +128,7 @@ class LifecycleInterpreterSpec extends AkkaSpec with GraphInterpreterSpecKit {
"postStop when pushAndFinish called with pushAndFinish if upstream completes with pushAndFinish and downstream immediately pulls" in new OneBoundedSetup[String](
new PushFinishStage(onPostStop = () testActor ! "stop"),
Fold("", (x: String, y: String) x + y, stoppingDecider).toGS) {
Fold("", (x: String, y: String) x + y)) {
lastEvents() should be(Set.empty)