Assert EventTypes references for IMC test#7899
Conversation
The id is different for each event when using container source. Use just the type, like other tests for container source.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #7899 +/- ##
==========================================
- Coverage 69.22% 69.18% -0.04%
==========================================
Files 339 341 +2
Lines 19494 15816 -3678
==========================================
- Hits 13494 10943 -2551
+ Misses 5337 4200 -1137
- Partials 663 673 +10 ☔ View full report in Codecov by Sentry. |
|
/hold For experimental tests to pass |
|
Looks like after fixing the test for ContainerSource, it shows that no EventTypes are automatically created. Checking on Slack to see if this is expected. |
It is not supported.
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: Cali0707, mgencur The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/test reconciler-tests |
2 similar comments
|
/test reconciler-tests |
|
/test reconciler-tests |
|
/unhold |
|
/retest-required |
1 similar comment
|
/retest-required |
* Assert EventTypes references for IMC and ContainerSource test * Do not use ID as the attribute to match the event The id is different for each event when using container source. Use just the type, like other tests for container source. * Fix type * Remove test for ContainerSource EventType creation It is not supported.
* Assert EventTypes references for IMC and ContainerSource test * Do not use ID as the attribute to match the event The id is different for each event when using container source. Use just the type, like other tests for container source. * Fix type * Remove test for ContainerSource EventType creation It is not supported. Co-authored-by: Martin Gencur <mgencur@redhat.com>
This is a follow-up to #7888
All of the tests should be asserting the eventtype's reference.
Proposed Changes
Pre-review Checklist
Release Note
Docs