New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
=str #17191 mapAsyncUnordered shall terminate after resume #17195
The head ref may contain hidden characters: "wip-17191-mapAsyncUnordered-termination-\u2202\u03C0"
=str #17191 mapAsyncUnordered shall terminate after resume #17195
Conversation
@@ -171,6 +171,16 @@ class FlowMapAsyncSpec extends AkkaSpec { | |||
c.expectComplete() | |||
} | |||
|
|||
"finish after future failure" in { | |||
import system.dispatcher | |||
Await.result(Source(1 to 3).mapAsync(1, n ⇒ Future { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
so the problem was when the last element throwed/resumed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
only when the last one to come in throws, actually (which made this test racy in the unordered case)
Test PASSed. |
LGTM |
2 similar comments
LGTM |
LGTM |
…nation-∂π =str #17191 mapAsyncUnordered shall terminate after resume
…ermination-∂π =str akka#17191 mapAsyncUnordered shall terminate after resume
fixes #17191