-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
⚠️ Remove status.resolution #1315
⚠️ Remove status.resolution #1315
Conversation
✅ Deploy Preview for olmv1 ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
2e39ba5
to
fe6f857
Compare
e29c5e0
to
26bdc55
Compare
@@ -561,28 +495,6 @@ func TestClusterExtensionInstallationSucceeds(t *testing.T) { | |||
require.NoError(t, cl.DeleteAllOf(ctx, &ocv1alpha1.ClusterExtension{})) | |||
} | |||
|
|||
func verifyInvariants(ctx context.Context, t *testing.T, c client.Client, ext *ocv1alpha1.ClusterExtension) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Interesting that the first test is the only place this is being called. So much for invariants if we only test them in one scenario. Haha.
I think we've decided to loosen our invariant checks, but want to call this out to make sure we talk about it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The lint pointed out that , these functions are not used anymore.
26bdc55
to
c214b0b
Compare
c214b0b
to
febe76e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
From what I can tell this looks good!
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1315 +/- ##
==========================================
+ Coverage 75.99% 76.13% +0.13%
==========================================
Files 41 41
Lines 2429 2409 -20
==========================================
- Hits 1846 1834 -12
+ Misses 410 402 -8
Partials 173 173
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
c9767f7
to
e2f605c
Compare
Fixes operator-framework#1306 Signed-off-by: Lalatendu Mohanty <lmohanty@redhat.com>
replacing below code with require.NotNil(ct, cond) ``` if !assert.NotNil(ct, cond) { return } ``` Signed-off-by: Lalatendu Mohanty <lmohanty@redhat.com>
e2f605c
to
5cf7d39
Compare
e2e-kind failed for the last merge queue test : https://github.com/operator-framework/operator-controller/actions/runs/11114103134/job/30879887774
|
This time e2e-kind passed but unit tests failed with
|
#1323 is merged to fix the unit test race condition. |
fba8473
Fixes #1306
Description
Reviewer Checklist