-
Notifications
You must be signed in to change notification settings - Fork 1.1k
[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
Conversation
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.
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); |
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.
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); |
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.
Are there async
equivalents for these methods also?
masterSubscription.Cancel(); | ||
s1.Request(5); | ||
s1.ExpectNext(1); | ||
s1.ExpectNext(2); |
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.
Async methods?
Changes
AssertAllStagesStopped
toAssertAllStagesStoppedAsync