Skip to content

[66-74] SubstreamSubscriptionTimeoutSpec #6614

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 4 commits into from
Mar 30, 2023
Merged

[66-74] SubstreamSubscriptionTimeoutSpec #6614

merged 4 commits into from
Mar 30, 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.

Use async methods instead of work-arounds

@@ -91,14 +91,14 @@ public void GroupBy_and_SplitWhen_must_timeout_and_cancel_substream_publisher_wh
action.Should().Throw<SubscriptionTimeoutException>();
Copy link
Member

Choose a reason for hiding this comment

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

 // sleep long enough for it to be cleaned up
                Thread.Sleep(1500);

Change to Task.Delay

@@ -116,6 +116,7 @@ public void GroupBy_and_SplitWhen_must_timeout_and_stop_groupBy_parent_actor_if_

subscriber.ExpectNext();
Copy link
Member

Choose a reason for hiding this comment

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

Use async methods

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 merged commit 725f44b into akkadotnet:dev Mar 30, 2023
@eaba eaba deleted the SubstreamSubscriptionTimeoutSpec branch March 30, 2023 15:47
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