Skip to content

Fix flaky HealthCheck test #20741

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 2 commits into from
Apr 12, 2020
Merged

Fix flaky HealthCheck test #20741

merged 2 commits into from
Apr 12, 2020

Conversation

BrennanConroy
Copy link
Member

No description provided.

@BrennanConroy BrennanConroy added this to the 5.0.0-preview4 milestone Apr 10, 2020
@BrennanConroy BrennanConroy requested a review from rynowak April 10, 2020 22:10
@BrennanConroy BrennanConroy added the area-healthchecks Includes: Healthchecks (some bugs also in Extensions repo) label Apr 10, 2020
@@ -300,7 +297,9 @@ public async Task RunAsync_PublishersCanTimeout()

await publishers[0].Started.TimeoutAfter(TimeSpan.FromSeconds(10));

await AssertCancelledAsync(publishers[0].Entries[0].cancellationToken);
service.CancelToken();
Copy link
Member

Choose a reason for hiding this comment

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

👍 - agree this is better than doing a wait.

Copy link
Member

@rynowak rynowak left a comment

Choose a reason for hiding this comment

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

:shipit: - awesome, thanks!

@BrennanConroy
Copy link
Member Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 2 pipeline(s).

@BrennanConroy BrennanConroy merged commit 2b7b79f into master Apr 12, 2020
@BrennanConroy BrennanConroy deleted the brecon/2ndflaky branch April 12, 2020 00:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-healthchecks Includes: Healthchecks (some bugs also in Extensions repo)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants