akka/akka — pull request #16424 by ktoso (2014-11-28 14:47:19+00:00)
Title: =str #16314 harden GraphConcatSpec, it can error as soon as possible

I had been thinking about Concat semantics a bit (see below), but after @drewhk's feedback decided that keeping current semantics is fine - when the other stream fails "on initial request" it's ok for us to fail "as soon as we notice".

This also means that this onError signal will come concurrently, and we're not sure when exactly - thus this test based around `||=`.

Please have a look and confirm that's the semantics we like here.

resolves https://github.com/akka/akka/issues/16314