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

[1.0 -> main] Improve restart production integration test #658

Merged
merged 16 commits into from
Aug 28, 2024

Conversation

linh2931
Copy link
Member

The existing restart production test may not stop the node in the middle of a pending policy. If it misses it and the pending policy becomes active, then the test will still pass but it won't test the behavior the test was intended for.

Instead of changing the order of the finalizer keys in order to force a finalizer policy change, the test is changed to use an unconfigured key in the new finalizer policy such that it is guaranteed that the node is in a state where pending policy exists before the node is shut down.

Forwards #577 to main

Resolves #552

@linh2931 linh2931 merged commit 3f73ffd into main Aug 28, 2024
36 checks passed
@linh2931 linh2931 deleted the merge_improve_production_restart branch August 28, 2024 01:22
@ericpassmore
Copy link
Contributor

Note:start
group: STABILITY
category: TEST
summary: Improve finalizer policy changes in test by changing keys multiple times. Previously changed the order of keys.
Note:end

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Improve restart production integration test
4 participants