OTA-1833: Add a unit test to guide troubleshooting#1307
OTA-1833: Add a unit test to guide troubleshooting#1307hongkailiu wants to merge 1 commit intoopenshift:mainfrom
Conversation
The failures in CI caused by a new feature set in o/api are not easy to troubleshoot. This pull adds a unit test it gives hint of what to check and a potential fix. Hopefully this will reduce the time to troubleshoot the case. I believe it will pay off the time we spend on maintaining the set `cvoSkipFeatureSets`. Recently I have seen a similar thing in `o/oc` [1]. [1]. https://github.com/openshift/oc/blob/12e2f59e4bac8586da8ab10bfb243862ff0444f5/pkg/helpers/describe/describer_test.go#L112
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: hongkailiu 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 |
WalkthroughThe pull request refactors feature-set filtering logic in the payload rendering module by consolidating hardcoded filename checks into a reusable helper function ( Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes ✨ Finishing touches
Comment |
|
@hongkailiu: This pull request references OTA-1833 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the bug to target the "4.22.0" version, but no target version was set. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
/retest-required |
|
@hongkailiu: The following tests failed, say
Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
The failures in CI caused by a new feature set in o/api are not easy to troubleshoot. This pull adds a unit test it gives hint of what to check and a potential fix.
Hopefully this will reduce the time to troubleshoot the case. I believe it will pay off the time we spend on maintaining the set
cvoSkipFeatureSets. Recently I have seen a similar thing ino/oc[1].[1]. https://github.com/openshift/oc/blob/12e2f59e4bac8586da8ab10bfb243862ff0444f5/pkg/helpers/describe/describer_test.go#L112