Skip to content

ROX-33246: add more assertions to compliance test#19393

Open
stehessel wants to merge 1 commit intomasterfrom
ROX-33246/add-more-logging-to-test
Open

ROX-33246: add more assertions to compliance test#19393
stehessel wants to merge 1 commit intomasterfrom
ROX-33246/add-more-logging-to-test

Conversation

@stehessel
Copy link
Collaborator

@stehessel stehessel commented Mar 12, 2026

Description

Add additional assertions for ScanSetting and ScanSettingBinding to waitForComplianceSuiteToComplete. This is to make sure these actually exist in case we encounter problems with not finding the compliance suite.

I've also noticed some incorrect NoError instead of NoErrorf, so I fixed those as well.

User-facing documentation

Testing and quality

  • the change is production ready: the change is GA, or otherwise the functionality is gated by a feature flag
  • CI results are inspected

Automated testing

  • added unit tests
  • added e2e tests
  • added regression tests
  • added compatibility tests
  • modified existing tests

How I validated my change

CI

@openshift-ci
Copy link

openshift-ci bot commented Mar 12, 2026

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

@rhacs-bot
Copy link
Contributor

Images are ready for the commit at f23b1c2.

To use with deploy scripts, first export MAIN_IMAGE_TAG=4.11.x-310-gf23b1c259e.

@codecov
Copy link

codecov bot commented Mar 12, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 49.68%. Comparing base (52688db) to head (f23b1c2).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master   #19393   +/-   ##
=======================================
  Coverage   49.68%   49.68%           
=======================================
  Files        2700     2700           
  Lines      203278   203278           
=======================================
+ Hits       100999   101006    +7     
+ Misses      94753    94748    -5     
+ Partials     7526     7524    -2     
Flag Coverage Δ
go-unit-tests 49.68% <ø> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@stehessel stehessel requested a review from guzalv March 12, 2026 16:23
@stehessel stehessel marked this pull request as ready for review March 12, 2026 16:23
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