-
Notifications
You must be signed in to change notification settings - Fork 64
🌱 (cleanup): Centralize the utils func under the test/utils directories #1742
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
🌱 (cleanup): Centralize the utils func under the test/utils directories #1742
Conversation
✅ Deploy Preview for olmv1 ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
ad34ffb
to
183a795
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1742 +/- ##
==========================================
- Coverage 67.39% 67.34% -0.06%
==========================================
Files 61 61
Lines 5236 5236
==========================================
- Hits 3529 3526 -3
- Misses 1447 1449 +2
- Partials 260 261 +1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
test/catalogd-e2e/unpack_test.go
Outdated
@@ -14,6 +14,7 @@ import ( | |||
"k8s.io/apimachinery/pkg/types" | |||
|
|||
catalogdv1 "github.com/operator-framework/operator-controller/catalogd/api/v1" | |||
"github.com/operator-framework/operator-controller/test/utils" |
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.
nitpick : can we import this as testutil? because we already have internal/util in code.
@@ -21,7 +21,7 @@ import ( | |||
"sigs.k8s.io/controller-runtime/pkg/client" | |||
|
|||
catalogdv1 "github.com/operator-framework/operator-controller/catalogd/api/v1" | |||
catalogde2e "github.com/operator-framework/operator-controller/test/catalogd-e2e" | |||
"github.com/operator-framework/operator-controller/test/utils" |
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.
Same as above
nitpick : can we import this as testutil? because we already have internal/util in code.
183a795
to
2de594c
Compare
2de594c
to
c4c6da2
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.
/lgtm
6dace7c
Description
Reviewer Checklist