Skip to content

Conversation

@octonato
Copy link
Contributor

References #30320

All credits to @johanandren that borrow me a pair of eyes and some brain cycles to find this one.

Copy link
Contributor

@johanandren johanandren left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM but I think the old naming was better.

}
.mapMaterializedValue(_.onComplete {
case Success(_) => flowInSource.sendNext("in complete")
case Failure(_) => flowInSource.sendNext("in error")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just as a reminder of the problem: since flowInSource was a stream probe, we can't just imperatively push to it from two different threads, what was failing was that it had not yet seen demand (from the buffer(4)) in one of the sendNext cases and would throw, leading to a subsequent expectation fail in the actual test.

@octonato
Copy link
Contributor Author

octonato commented Mar 8, 2022

@johanandren, I will merge this one. We said that test hardening would require only one approval and I think we lost this one from sight.

@octonato octonato merged commit 7c3e832 into main Mar 8, 2022
@octonato octonato deleted the octonato/fix-restart-spec branch March 8, 2022 10:42
Arkatufus added a commit to Arkatufus/akka.net that referenced this pull request Apr 1, 2025
Aaronontheweb pushed a commit to akkadotnet/akka.net that referenced this pull request Apr 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants