-
Notifications
You must be signed in to change notification settings - Fork 14
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
Changing Node interface and updating NMC controller #1220
Changing Node interface and updating NMC controller #1220
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: yevgeny-shnaidman The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
✅ Deploy Preview for openshift-kmm ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
/assign @ybettan |
Fixes 1219 |
/test check-api-changes |
/test e2e |
/test e2e-hub |
/test operator-upgrade |
/test e2e |
ci/prow/e2e-hub |
/test e2e-hub |
/test operator-upgrade |
@@ -1356,16 +1315,16 @@ var _ = Describe("nmcReconcilerHelperImpl_RecordEvents", func() { | |||
var ( | |||
client *testclient.MockClient | |||
fakeRecorder *record.FakeRecorder | |||
n node.Node | |||
wh nmcReconcilerHelper | |||
//nm *node.MockNode |
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.
//nm *node.MockNode |
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.
fixed
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.
fixed
) | ||
|
||
BeforeEach(func() { | ||
ctrl := gomock.NewController(GinkgoT()) | ||
client = testclient.NewMockClient(ctrl) | ||
n = node.NewNode(client) | ||
//nm = node.NewMockNode(ctrl) |
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.
//nm = node.NewMockNode(ctrl) |
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.
fixed
This PR is a preparation for the fixes needed for cluster upgrade KMM implementation. We are adding a new function to the node interface, that determines whether a node has been rebooted while a kernel module was loaded. This PR also updates NMC controller to use this API and refactors the unit-test
6a736c4
to
72c6040
Compare
/lgtm |
aed4d51
into
rh-ecosystem-edge:main
This PR is a preparation for the fixes needed for cluster upgrade KMM implementation. We are adding a new function to the node interface, that determines whether a node has been rebooted while a kernel module was loaded. This PR also updates NMC controller to use this API and refactors the unit-test