File tree 1 file changed +2
-2
lines changed
controlplane/kubeadm/internal/controllers
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -136,7 +136,7 @@ func TestClusterToKubeadmControlPlaneOtherControlPlane(t *testing.T) {
136
136
g .Expect (got ).To (BeNil ())
137
137
}
138
138
139
- func TestReconcileReturnErrorWhenOwnerClusterIsMissing (t * testing.T ) {
139
+ func TestReconcileDoesNothingWhenOwnerClusterIsMissing (t * testing.T ) {
140
140
g := NewWithT (t )
141
141
142
142
ns , err := env .CreateNamespace (ctx , "test-reconcile-return-error" )
@@ -165,7 +165,7 @@ func TestReconcileReturnErrorWhenOwnerClusterIsMissing(t *testing.T) {
165
165
g .Eventually (func () error {
166
166
_ , err := r .Reconcile (ctx , ctrl.Request {NamespacedName : util .ObjectKey (kcp )})
167
167
return err
168
- }, 10 * time .Second ).Should (HaveOccurred ())
168
+ }, 10 * time .Second ).Should (BeNil ())
169
169
}
170
170
171
171
func TestReconcileUpdateObservedGeneration (t * testing.T ) {
You can’t perform that action at this time.
0 commit comments