Closed smira closed 1 year ago
The current integration tests don't cover all cases, and they are extremely slow to run.
Find a middle ground with some form of unit-testing.
See e.g. https://github.com/kubernetes-sigs/cluster-api/blob/31146bd17a220ef6214c4c7a21f1aa57380b6b1f/controlplane/kubeadm/internal/controllers/controller_test.go#L17-L18
The current integration tests don't cover all cases, and they are extremely slow to run.
Find a middle ground with some form of unit-testing.
See e.g. https://github.com/kubernetes-sigs/cluster-api/blob/31146bd17a220ef6214c4c7a21f1aa57380b6b1f/controlplane/kubeadm/internal/controllers/controller_test.go#L17-L18