-
Notifications
You must be signed in to change notification settings - Fork 221
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
test: update node termination test to model eventual removal #1320
test: update node termination test to model eventual removal #1320
Conversation
Skipping CI for Draft Pull Request. |
30d0bd5
to
4f99585
Compare
4c03cb7
to
0c4d9d3
Compare
Pull Request Test Coverage Report for Build 9521007078Details
💛 - Coveralls |
Can you talk with @jigisha620 on this one? I'm surprised that the changes that were made in the other PR didn't cause failures in these tests and we're having to make these changes after the fact now. Can you clarify what is failing that wasn't properly captured through testing? |
Already spoke with her offline about it, the gist of the problem is that the node termination controller can now take multiple reconciliations to delete the node. It didn't before because there was never a nodeclaim associated with the node, so it immediately deleted. IMO since it can now take multiple reconciliations this is the correct way to model it and unblocks some issues upon rebase in #916 since it applied the nodeclaim. |
There wasn't a nodeClaim associated with a node in the tests that we had and that's why there was no failure. This wasn't captured until #916 applied nodeClaim and started seeing the failures. |
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 🚀
0c4d9d3
to
4759864
Compare
Pull Request Test Coverage Report for Build 9522800263Warning: This coverage report may be inaccurate.This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.
Details
💛 - Coveralls |
Pull Request Test Coverage Report for Build 9523915252Warning: This coverage report may be inaccurate.This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.
Details
💛 - Coveralls |
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
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jigisha620, jmdeal, jonathan-innis 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 |
Pull Request Test Coverage Report for Build 9523995887Warning: This coverage report may be inaccurate.This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.
Details
💛 - Coveralls |
Pull Request Test Coverage Report for Build 9524005690Warning: This coverage report may be inaccurate.This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.
Details
💛 - Coveralls |
Fixes #N/A
Description
Updates the node/termination test suite to properly model eventual removal now that it may take multiple reconciliations.
How was this change tested?
make test
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.