Skip to content

ignore SLOW SQL Query in OCR2 chaos tests#22143

Open
Tofel wants to merge 1 commit intodevelopfrom
slow-query-chaos-test-df1
Open

ignore SLOW SQL Query in OCR2 chaos tests#22143
Tofel wants to merge 1 commit intodevelopfrom
slow-query-chaos-test-df1

Conversation

@Tofel
Copy link
Copy Markdown
Contributor

@Tofel Tofel commented Apr 23, 2026

@github-actions
Copy link
Copy Markdown
Contributor

✅ No conflicts with other open PRs targeting develop

@trunk-io
Copy link
Copy Markdown

trunk-io Bot commented Apr 23, 2026

Static BadgeStatic BadgeStatic BadgeStatic Badge

View Full Report ↗︎Docs

@Tofel Tofel marked this pull request as ready for review April 23, 2026 07:13
@Tofel Tofel requested a review from a team as a code owner April 23, 2026 07:13
Copilot AI review requested due to automatic review settings April 23, 2026 07:13
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Risk Rating: LOW — test-only change that adjusts log-scanning expectations during cleanup.

This PR updates the OCR2 chaos test cleanup log scanning to treat “SLOW SQL QUERY” log lines as expected during chaos (container disruption), preventing the test run from failing due to this known/benign message.

Changes:

  • Add zapcore import to support specifying an allowed log message severity.
  • Extend products.DefaultSettings(...) in TestOCR2Chaos cleanup to allow/ignore "SLOW SQL QUERY" during log scanning.

@cl-sonarqube-production
Copy link
Copy Markdown

@Tofel Tofel enabled auto-merge April 23, 2026 09:01
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.

3 participants