=str #19067: Fixed error reporting after stage is closed.
This commit is contained in:
parent
3d20915cf4
commit
6b4a4848c9
6 changed files with 50 additions and 13 deletions
|
|
@ -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))
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue