Skip to content

[31-74] FlowSplitAfterSpec #6578

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

Merged
merged 14 commits into from
Apr 11, 2023
Merged

[31-74] FlowSplitAfterSpec #6578

merged 14 commits into from
Apr 11, 2023

Conversation

eaba
Copy link
Contributor

@eaba eaba commented Mar 25, 2023

Changes

  • Change AssertAllStagesStopped to AssertAllStagesStoppedAsync

Copy link
Member

@Aaronontheweb Aaronontheweb left a comment

Choose a reason for hiding this comment

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

Throughout this class it looks like there are areas where we're not using async TestKit methods

masterSubscriber.ExpectNoMsg(TimeSpan.FromMilliseconds(100));

s1.Request(2);
s1.ExpectNext(1);
Copy link
Member

Choose a reason for hiding this comment

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

Shouldn't these methods be made async? Aren't there already async alternatives in the TestKit?

.RunWith(Sink.AsPublisher<int>(false), Materializer), this);
masterSubscriber.ExpectNoMsg(TimeSpan.FromMilliseconds(100));
s1.Request(3);
s1.ExpectNext(1);
Copy link
Member

Choose a reason for hiding this comment

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

Are there async equivalents for these methods also?

masterSubscription.Cancel();
s1.Request(5);
s1.ExpectNext(1);
s1.ExpectNext(2);
Copy link
Member

Choose a reason for hiding this comment

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

Async methods?

@Aaronontheweb Aaronontheweb merged commit 2dd7d26 into akkadotnet:dev Apr 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants