-
Notifications
You must be signed in to change notification settings - Fork 56
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
🐛 mitigate upgrade-e2e test flakiness #1627
🐛 mitigate upgrade-e2e test flakiness #1627
Conversation
✅ Deploy Preview for olmv1 ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
cad9a6d
to
9ccf48d
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1627 +/- ##
==========================================
+ Coverage 66.70% 66.72% +0.02%
==========================================
Files 57 57
Lines 4595 4595
==========================================
+ Hits 3065 3066 +1
+ Misses 1304 1303 -1
Partials 226 226
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
We have #1550 for this issue as well |
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.
lgtm
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.
I am OK with the changes
Thank you a lot for this contribution
+1 in the nit raised by @azych
we might want to address it follow and it across the whole project
@perdasilva could you please add in the description that this PR closes: #1550
/lgtm
@perdasilva How can I test this PR locally on my laptop? I have local kind setup created usng |
I deleted the kind setup and |
if you want to step through it, it also has the recipe for it:
|
9ccf48d
to
fb6f8b2
Compare
fb6f8b2
to
a8daf69
Compare
I could reproduce the issue without your PR, however when I tested your PR it failed with
|
yeah - seems to be due to some recent changes addressing some reviewer comments. Maybe we're finding out why !assert.NotNil was used...? |
a8daf69
to
4eea23c
Compare
@@ -101,16 +101,47 @@ func TestClusterExtensionAfterOLMUpgrade(t *testing.T) { | |||
require.EventuallyWithT(t, func(ct *assert.CollectT) { | |||
assert.NoError(ct, c.Get(ctx, types.NamespacedName{Name: testClusterExtensionName}, &clusterExtension)) | |||
cond := apimeta.FindStatusCondition(clusterExtension.Status.Conditions, ocv1.TypeInstalled) | |||
if !assert.NotNil(ct, cond) { |
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.
this will never return false - either it returns true or fails
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.
Yup, I agree.
@azych I've changed it to |
Hi @perdasilva, I liked the other improvements you made. However, regarding the issue, I wanted to clarify something: It seems like we are now allocating 1 minute for the load and 1 minute for the update. Wouldn’t that effectively result in a total increase of 2 minutes overall? Or did I misunderstand something? Looking forward to your thoughts! |
@camilamacedo86 Do you mean because we now wait for the catalogd deployment? Anecdotally, looking at a few upgrade-e2e with and without this PR, there doesn't seem to be any meaningful change in runtimes |
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.
/lgtm
/hold for the #1627 (comment) . Feel free to remove the hold. |
👍 I think your current change makes sense looking at the intention |
Can we unhold this one? It is |
/hold cancel |
4eea23c
to
a6b249e
Compare
Signed-off-by: Per Goncalves da Silva <[email protected]>
Signed-off-by: Per Goncalves da Silva <[email protected]>
a6b249e
to
a1a9777
Compare
/lgtm |
Description
last unpacked
to be after the catalogd deployment pod's creation timeutils
package and adds artifact collection to upgrade-e2eReviewer Checklist