Skip to content
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

Merged
merged 5 commits into from
Mar 28, 2023
Merged

[70-74] GraphStageLogicSpec #6618

merged 5 commits into from
Mar 28, 2023

Conversation

eaba
Copy link
Contributor

@eaba eaba commented Mar 26, 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.

Left some comments

.Via(new ReadNEmitN(6))
.RunWith(this.SinkProbe<int>(), Materializer)
.Request(10)
.ExpectComplete();
Copy link
Member

Choose a reason for hiding this comment

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

Is this awaitable?

.Via(new ReadNEmitN(2))
.RunWith(this.SinkProbe<int>(), Materializer)
.Request(10)
.ExpectNext(1, 2)
.ExpectComplete();
return Task.CompletedTask;
.ExpectCompleteAsync();
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Copy link
Member

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();
Copy link
Contributor Author

@eaba eaba Mar 28, 2023

Choose a reason for hiding this comment

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

Copy link
Member

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();

Copy link
Contributor Author

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!

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.

LGTM

@Aaronontheweb Aaronontheweb enabled auto-merge (squash) March 28, 2023 11:20
@Aaronontheweb Aaronontheweb disabled auto-merge March 28, 2023 17:54
@Aaronontheweb Aaronontheweb merged commit 40fdc1b into akkadotnet:dev Mar 28, 2023
@eaba eaba deleted the GraphStageLogicSpec branch March 29, 2023 00:24
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