Skip to content

tests(Diagnostics): Loosen some tests that flake because of data freshness#15663

Merged
amanda-tarafa merged 2 commits into
googleapis:mainfrom
amanda-tarafa:diagnostics-flakes
Jun 11, 2026
Merged

tests(Diagnostics): Loosen some tests that flake because of data freshness#15663
amanda-tarafa merged 2 commits into
googleapis:mainfrom
amanda-tarafa:diagnostics-flakes

Conversation

@amanda-tarafa

Copy link
Copy Markdown
Contributor

No description provided.

…Core3 solution.

We reuse code from Commnon.IntegrationTests in AspNetCore3.IntegrationTests and this just makes it easier to change things at once.
We ocassionally see some flakes due to data freshness.
@amanda-tarafa amanda-tarafa requested a review from a team as a code owner June 11, 2026 18:09

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Code Review

This pull request updates integration tests and solution configurations. Specifically, it relaxes the assertion in LoggingTest.cs to expect between 950 and 1000 log entries instead of exactly 1000 to account for data freshness. It also adds the Google.Cloud.Diagnostics.Common.IntegrationTests project to the AspNetCore3 solution file, and sets a default timeout of 15 minutes for ErrorEventEntryPolling. There are no review comments, and I have no feedback to provide.

@efevans

efevans commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

LGTM

@efevans efevans self-requested a review June 11, 2026 20:02
@amanda-tarafa amanda-tarafa merged commit 0027262 into googleapis:main Jun 11, 2026
16 checks passed
@amanda-tarafa amanda-tarafa deleted the diagnostics-flakes branch June 11, 2026 20:03
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