Skip to content
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

🌱 upgrade test: wait until first reconcile completes after upgrade #1045

Merged
merged 1 commit into from
Jul 15, 2024

Conversation

joelanford
Copy link
Member

Description

After the upgrade, make sure reconcile actually completes for the ClusterExtension before we being the post-upgrade checks and tests.

Reviewer Checklist

  • API Go Documentation
  • Tests: Unit Tests (and E2E Tests, if appropriate)
  • Comprehensive Commit Messages
  • Links to related GitHub Issue(s)

Signed-off-by: Joe Lanford <joe.lanford@gmail.com>
@joelanford joelanford requested a review from a team as a code owner July 12, 2024 21:00
Copy link

netlify bot commented Jul 12, 2024

Deploy Preview for olmv1 ready!

Name Link
🔨 Latest commit 4956161
🔍 Latest deploy log https://app.netlify.com/sites/olmv1/deploys/6691996ec69b6f000893dfb1
😎 Deploy Preview https://deploy-preview-1045--olmv1.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

codecov bot commented Jul 12, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 73.46%. Comparing base (60d26ed) to head (4956161).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1045   +/-   ##
=======================================
  Coverage   73.46%   73.46%           
=======================================
  Files          32       32           
  Lines        1986     1986           
=======================================
  Hits         1459     1459           
  Misses        368      368           
  Partials      159      159           
Flag Coverage Δ
e2e 55.84% <100.00%> (ø)
unit 45.01% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@tmshort tmshort left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

Comment on lines +132 to +138
foundCount := 0
for _, substring := range substrings {
if strings.Contains(line, substring) {
foundCount++
}
}
if foundCount == len(substrings) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I feel like this could be done with a regexp

@joelanford joelanford added this pull request to the merge queue Jul 15, 2024
@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Jul 15, 2024
Merged via the queue into operator-framework:main with commit ee7c35a Jul 15, 2024
18 checks passed
@joelanford joelanford deleted the upgrade-test-wait branch July 20, 2024 01:59
perdasilva pushed a commit to LalatenduMohanty/operator-controller that referenced this pull request Aug 13, 2024
perdasilva pushed a commit to kevinrizza/operator-controller that referenced this pull request Aug 13, 2024
@skattoju skattoju mentioned this pull request Sep 25, 2024
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants