Skip to content

Consider merging ClusterClass changes and rollout e2e tests #8277

Closed
@sbueringer

Description

@sbueringer

Follow-up:

Not for now, but I think that if we expand this a little bit this part we can merge ClusterClassChangesSpec into this test

I was thinking about the overlap between those tests as well.

Currently I went with separate tests as the ClusterClass changes test can be used with arbitrary control plane and bootstrap providers while the rollout test specifically tests behavior of KCP (in-place propagation).

As in-place propagation is not part of our contract and not even all control plane providers have a machineTemplate I thought it to be cleaner / easier to understand if we have a clean separation. So that one test is testing basic ClusterClass "actions" while the other one is testing the entire in-place propagation specifically for KCP etc.

I think there is probably a way to add some flags etc so we can have both in one test. I'm just not sure if this makes the test to complicated. Right now both tests seem nicely focused on their task, although there is definitely overlap.

xref: #8171 (comment)

/kind cleanup
/area testing

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/testingIssues or PRs related to testinghelp wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.kind/cleanupCategorizes issue or PR as related to cleaning up code, process, or technical debt.needs-triageIndicates an issue or PR lacks a `triage/foo` label and requires one.priority/backlogHigher priority than priority/awaiting-more-evidence.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions