Extra E2E coverage for #2942 - #2961
Conversation
|
Skipping CI for Draft Pull Request. |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: m1kola The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
c298534 to
c8d19fc
Compare
| }) | ||
|
|
||
| // Remove BundleUnpackFailed condition from subscriptions | ||
| o.removeSubsCond(subs, v1alpha1.SubscriptionBundleUnpackFailed) |
There was a problem hiding this comment.
Out of scope for this, but it'd be nice if o.removeSubsCond accepted multiple conditions like the RemoveConditions func it calls does. That would remove some inefficiency from looping through the conditions multiple times.
Prevent OLM from creating `InstallPlan`s when bundle unpack fails Signed-off-by: Mikalai Radchuk <mradchuk@redhat.com>
Tests now include handling of unpacking errors Signed-off-by: Mikalai Radchuk <mradchuk@redhat.com>
Changes required to account for a new flow where we prevent `InstallPlan` from being created when unpack job fails Signed-off-by: Mikalai Radchuk <mradchuk@redhat.com>
c8d19fc to
937bda9
Compare
|
|
||
| Context("with bundle which OLM will fail to unpack", func() { | ||
| BeforeEach(func() { | ||
| By("patching the OperatorGroup to reduce the bundle unpacking timeout") |
There was a problem hiding this comment.
| By("patching the OperatorGroup to reduce the bundle unpacking timeout") | |
| By("patching the OperatorGroup to increase the bundle unpacking timeout") |
937bda9 to
255985c
Compare
Signed-off-by: Mikalai Radchuk <mradchuk@redhat.com>
* Ensure no progress is reported after successfull unpacking * Ensure OLM can auto recover when a broken catalog gets fixed Signed-off-by: Mikalai Radchuk <mradchuk@redhat.com>
255985c to
8fce9f0
Compare
Signed-off-by: Mikalai Radchuk <mradchuk@redhat.com>
8fce9f0 to
2a10f26
Compare
|
I decided to merge this into the original PR #2942 since I needed extra test files which I already had in this PR. Closing |
Includes #2942 which needs to be merged first.
Description of the change:
This is a follow up for #2942
Keeping it separate from the main PR to make it easier to review (main PR is already large)
Motivation for the change:
Extra E2E coverage
Architectural changes:
None compared to #2942. Just extra E2E tests.
Testing remarks:
Extra E2E tests
Reviewer Checklist
/doc[FLAKE]are truly flaky and have an issue