-
Notifications
You must be signed in to change notification settings - Fork 38.7k
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
Additional cases for reconcileState testing #101909
Conversation
/ok-to-test |
/cc @klueska |
/area test /assign @fromanirh |
Sure, that works for me. No rush with this anyway. |
Sorry for the delay on this. It got lost in the backlog. /lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: klueska, nolancon 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 |
Thanks @klueska, looks like this is stuck on hold. |
/unhold |
/pull-kubernetes-node-e2e-containerd |
/test pull-kubernetes-node-e2e-containerd |
28e6750
to
6bbb36d
Compare
/retest |
/lgtm |
What type of PR is this?
/kind cleanup
What this PR does / why we need it:
Additional test cases to exercise new logic in
reconcileState
introduced by #101771.Previously, test cases were given an empty
lastUpdateState
so existing test cases were utilized and passed. This PR adds two new cases with differentlastUpdateState
data - one requires update, the other does not.One case also added to test
policyRemoveContainerByRef
which was previously untested.Checks also added to test itself to compare actual
state
vs expectedstate
.Existing test cases are unchanged.
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.: