Skip to content

fix: Database_observability: fix race in postgres query samples test#5315

Merged
cristiangreco merged 1 commit intomainfrom
cristian/dbo11y-fix-pg-query-samples-race
Jan 22, 2026
Merged

fix: Database_observability: fix race in postgres query samples test#5315
cristiangreco merged 1 commit intomainfrom
cristian/dbo11y-fix-pg-query-samples-race

Conversation

@cristiangreco
Copy link
Contributor

@cristiangreco cristiangreco commented Jan 21, 2026

Brief description of Pull Request

Attempt to fix a race condition in tests. Split out test cases where we expect only error logs into a separate test: this way we can use a different assertion that makes sure all mock queries have been executed.

Pull Request Details

Issue(s) fixed by this Pull Request

n.a.

Notes to the Reviewer

PR Checklist

  • Documentation added
  • Tests updated
  • Config converters updated

@cristiangreco cristiangreco marked this pull request as ready for review January 21, 2026 16:20
@cristiangreco cristiangreco requested a review from a team as a code owner January 21, 2026 16:20
@cristiangreco cristiangreco force-pushed the cristian/dbo11y-fix-pg-query-samples-race branch 3 times, most recently from 06f5af3 to 6e530b7 Compare January 22, 2026 08:20
@cristiangreco cristiangreco force-pushed the cristian/dbo11y-fix-pg-query-samples-race branch from 6e530b7 to 80bc1b5 Compare January 22, 2026 08:34
@cristiangreco cristiangreco merged commit 4f01753 into main Jan 22, 2026
47 checks passed
@cristiangreco cristiangreco deleted the cristian/dbo11y-fix-pg-query-samples-race branch January 22, 2026 12:15
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 6, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants