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

Fix EventCountersAndMetricsValues and VerifyCountersFireWithCorrectValues flaky tests #59411

Merged
merged 1 commit into from
Dec 12, 2024

Conversation

JamesNK
Copy link
Member

@JamesNK JamesNK commented Dec 10, 2024

Addresses #57259

Tests appear to be failing because the RPS counter isn't correct. For example, the test simulates 2 HTTP requests, and it expects the counter to report an RPS of 2. However, because of timing the two requests are split across a boundary, so the counter only reports 1.

I don't see a good way to fix this so I removed testing of RPS counter.

@JamesNK JamesNK added the area-hosting Includes Hosting label Dec 10, 2024
@JamesNK JamesNK requested a review from halter73 as a code owner December 10, 2024 08:35
@JamesNK JamesNK merged commit ad2b386 into main Dec 12, 2024
27 checks passed
@JamesNK JamesNK deleted the jamesnk/hosting-counters-flaky branch December 12, 2024 02:44
@dotnet-policy-service dotnet-policy-service bot added this to the 10.0-preview1 milestone Dec 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-hosting Includes Hosting
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants