-
Notifications
You must be signed in to change notification settings - Fork 1k
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
[70-74] GraphStageLogicSpec
#6618
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.
Left some comments
.Via(new ReadNEmitN(6)) | ||
.RunWith(this.SinkProbe<int>(), Materializer) | ||
.Request(10) | ||
.ExpectComplete(); |
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.
Is this await
able?
.Via(new ReadNEmitN(2)) | ||
.RunWith(this.SinkProbe<int>(), Materializer) | ||
.Request(10) | ||
.ExpectNext(1, 2) | ||
.ExpectComplete(); | ||
return Task.CompletedTask; | ||
.ExpectCompleteAsync(); |
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.
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.
you have a bunch of PRs open where you'll need to do this @eaba
.Via(new ReadNEmitN(6)) | ||
.RunWith(this.SinkProbe<int>(), Materializer) | ||
.Request(10) | ||
.ExpectComplete(); | ||
return Task.CompletedTask; | ||
.ExpectCompleteAsync(); |
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.
good? @Aaronontheweb
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.
Looks good, but you have a lot of code in other PRs today that looks like:
...
.ExpectComplete();
return Task.CompletedTask;
You should change that to
.ExpectCompleteAsync();
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.
Yeah, I will do it - bit by bit!
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.
LGTM
Changes
AssertAllStagesStopped
toAssertAllStagesStoppedAsync