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] Improve restart production integration test #577

Merged
merged 13 commits into from
Aug 27, 2024

Conversation

linh2931
Copy link
Member

@linh2931 linh2931 commented Aug 18, 2024

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.

Resolves #552

@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

@arhag arhag linked an issue Aug 19, 2024 that may be closed by this pull request
tests/production_restart.py Outdated Show resolved Hide resolved
tests/production_restart.py Outdated Show resolved Hide resolved
tests/production_restart.py Outdated Show resolved Hide resolved
@linh2931 linh2931 requested a review from arhag August 27, 2024 22:26
@linh2931 linh2931 merged commit 9da09c6 into release/1.0 Aug 27, 2024
36 checks passed
@linh2931 linh2931 deleted the improve_production_restart branch August 27, 2024 23:57
@ericpassmore ericpassmore added enhancement New feature or request test-instability tag issues for flaky tests, high priority to address labels Sep 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request test-instability tag issues for flaky tests, high priority to address
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Improve restart production integration test
5 participants