Add GetSSHPaths unit tests covering EL10 (#6204) - #6394
Conversation
Lock in RHCOS9SSHKeyPath expectations for EL10 so TestNoReboot path selection cannot regress back to the legacy RHCOS8 path. Co-authored-by: Cursor <cursoragent@cursor.com>
|
Pipeline controller notification For optional jobs, comment This repository is configured in: LGTM mode |
WalkthroughAdded parallel table-driven tests for ChangesSSH path coverage
Estimated code review effort: 2 (Simple) | ~10 minutes 🚥 Pre-merge checks | ✅ 14 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (14 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: kchawlani19 The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
/test bootstrap-unit |
1 similar comment
|
/test bootstrap-unit |
|
@kchawlani19: all tests passed! Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
|
Hi! Could an MCO reviewer/approver take a look when you have a chance? |
Summary
TestGetSSHPathscoverage for RHCOS 8/9/10, CentOS Stream CoreOS 10, SCOS, and FCOS.main(IsEL10()→RHCOS9SSHKeyPath) so EL10 cannot regress to the legacyRHCOS8SSHKeyPath.Test plan
go test ./test/helpers/ -run TestGetSSHPaths— PASS (all 6 subtests)./test/helpers/— previously hit a pre-existing flaky timing assertion inTestAssertions(unrelated to this change)TestNoReboot— not run locally (requires a live OpenShift cluster)Fixes #6204
Summary by CodeRabbit