=str #19067: Fixed error reporting after stage is closed.

This commit is contained in:
Endre Sándor Varga 2015-12-14 16:42:43 +01:00
parent 3d20915cf4
commit 6b4a4848c9
6 changed files with 50 additions and 13 deletions

View file

@ -558,7 +558,7 @@ class InterpreterSpec extends AkkaSpec with GraphInterpreterSpecKit {
new InvalidAbsorbTermination)) {
lastEvents() should be(Set.empty)
EventFilter.error("It is not allowed to call absorbTermination() from onDownstreamFinish.").intercept {
EventFilter[UnsupportedOperationException]("It is not allowed to call absorbTermination() from onDownstreamFinish.", occurrences = 1).intercept {
downstream.cancel()
lastEvents() should be(Set(Cancel))
}