@@ -140,7 +140,7 @@ var _ = Describe("Bootstrap controller", Ordered, func() {
140140 By ("Deleting the kubeconfig secret and checking the cluster is deleted" )
141141 test .MustDeleteCluster (test .Ctx , test .K8sClient , cluster )
142142 })
143- It ("Should remove cluster when secret disapears " , func () {
143+ It ("Should remove cluster when secret disappears " , func () {
144144 By ("Creating a kubeconfig secret with label" )
145145 kubeConfigSecret := setup .CreateSecret (test .Ctx , bootstrapTestCase + "-secret-removal" ,
146146 test .WithSecretType (greenhouseapis .SecretTypeKubeConfig ),
@@ -157,9 +157,9 @@ var _ = Describe("Bootstrap controller", Ordered, func() {
157157 test .MustDeleteSecret (test .Ctx , test .K8sClient , kubeConfigSecret )
158158
159159 Eventually (func (g Gomega ) bool {
160- g .Expect (apierrors .IsNotFound (test .K8sClient .Get (test .Ctx , id , cluster ))).Should (BeTrue (), "the cluster should have been created " )
160+ g .Expect (apierrors .IsNotFound (test .K8sClient .Get (test .Ctx , id , cluster ))).Should (BeTrue (), "the cluster should be deleted " )
161161 return true
162- }).Should (BeTrue (), "getting the cluster should succeed eventually" )
162+ }).Should (BeTrue (), "the cluster should be deleted eventually" )
163163 })
164164 })
165165})
0 commit comments