ROX-37465: Remove remaining duplicate e2e tests #1483
All Vouch review confidence checks passed
Residual risk 0.20 = Change Risk (0.50) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.50 · 613 lines diff across 7 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.384
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #1483"
general
weight: 0.35
Vincent056
Removes five duplicate e2e tests that exist in two suites, as part of the e2e test consolidation tracked in ROX-37465. For items 1 and 2, the serial copy (which is the better one) is moved into scan-config; for items 3–4 the duplicate is deleted outright; for item 5 the deployment copy is kept with the race fix ported in and the parsing copy is deleted.
Changes
| Subtask | Test | Action | Kept copy | Reason |
|---------|------|--------|-----------|--------|
| ROX-37576 |
TestTolerations| Replace scan-config body with serial body, delete from serial | scan-config (now has serial body) | Serial is a strict superset: Phase 1 tests automatic toleration injection +AssertAllScannerPodsHaveTolerationon both phases. Scan-config only had Phase 2 without those assertions. || ROX-37573 |
TestStrictNodeScanConfiguration| Apply serial polling fix to scan-config, delete from serial | scan-config (now has serial fix) | Serial carries fix fromaa2fb6c7f("CMP-4823"): pollssuite.Status.Phase != ""before asserting PENDING for 30s. Scan-config only waited for suite existence — a race condition. || ROX-37575 |
TestSuiteScanHasCheckCounts| Delete from serial |TestSuiteScan(same file) | Pure duplicate: builds the same two-scan ComplianceSuite and its only assertions (AssertScanIsNonCompliant+AssertScanHasTotalCheckCountson both scans) are already the closing assertions ofTestSuiteScan. || ROX-37577 |
TestMixProductScan| Delete from serial |TestScanHasProfileGUID(same file) +TestSuspendScanSetting(scan-config) |TestScanHasProfileGUIDbinds a superset of its profiles. Custom ScanSetting (Suspend: false,Schedule,Timeout) is covered byTestSuspendScanSettingin scan-config. || ROX-37574 |
TestProfileBundleDefaultIsKept| Keep deployment copy with race fix ported in, delete parsing copy | deployment (with race fix from1264b3087) | The deployment suite'srun_if_changedcoverscmd/manager/(the code this test exercises); the parsing suite's does not. Race fix (UID-polling instead oftime.Sleep) andupdateErrbug fix ported from the parsing copy. |TestTolerationsandTestStrictNodeScanConfigurationdo not callt.Parallel()— both mutate a shared worker node (taint and cordon respectively). Keeping them sequential prevents collisions with scan-config's parallel tests.Import cleanup
serial/main_test.go: Removedapierrors(only used byTestStrictNodeScanConfiguration)deployment/main_test.go: Addedtypes,clientimports needed by the race-fixedTestProfileBundleDefaultIsKeptparsing_tests/main_test.go: Verified no orphaned imports afterTestProfileBundleDefaultIsKeptdeletionInteraction with PR #1451
PR #1451 ("CMP-4824: Run most serial e2e tests in parallel") rewrites much of
tests/e2e/serial/main_test.goto run tests concurrently using per-test MachineConfigPool lanes. It is already marked CONFLICTING and needs a rebase regardless. This PR affects it as follows:TestTolerationsmoves totests/e2e/scan-config/main_test.go. #1451 converts it to a lane test viaf.AcquireTestPool(t); that conversion needs to be re-applied against its new home after the rebase.TestSuiteScanHasCheckCountsandTestMixProductScanare deleted. #1451 converts both tof.ScanPhaseTest(t, ...); those two conversions can simply be dropped, which reduces #1451's remaining work.TestStrictNodeScanConfigurationandTestProfileBundleDefaultIsKeptdo not overlap with #1451.Verification
---
AI-generated. Review for accuracy.
@rhmdnd requested from Slack
[ROX-37465]: https://redhat.atlassian.net/browse/ROX-37465?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
[ROX-37576]: https://redhat.atlassian.net/browse/ROX-37576?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
[ROX-37573]: https://redhat.atlassian.net/browse/ROX-37573?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
[ROX-37575]: https://redhat.atlassian.net/browse/ROX-37575?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ