Skip to content

e2e: add controller recovery test - #152

Open
ptalgulk01 wants to merge 1 commit into
bootc-dev:mainfrom
ptalgulk01:e2e-controller-recovery
Open

e2e: add controller recovery test#152
ptalgulk01 wants to merge 1 commit into
bootc-dev:mainfrom
ptalgulk01:e2e-controller-recovery

Conversation

@ptalgulk01

Copy link
Copy Markdown
Collaborator

Summary

  • Add TestControllerRecovery e2e test that verifies the controller recovers after being killed and completes a pending rollout
  • The test scales the controller deployment to zero, patches the pool to a new image, then restores the controller and asserts the rollout completes

Context

Part of the e2e test planning in #69 (scenario 5: kill controller/daemon during rollout).

Manual testing also revealed that scenarios 4 (faulty node after reboot) and 8 (cross-distro bad image) both fail — the controller has no reboot timeout and doesn't correlate Node.Ready status, so nodes stuck after reboot are never marked degraded. Those need feature work before tests can be written.

Test plan

  • make e2e V=1 RUN=TestControllerRecovery passes locally (159s)

@ptalgulk01

Copy link
Copy Markdown
Collaborator Author

/cc @alicefr @HarshwardhanPatil07

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.

1 participant