kube-test: add missing GinkgoRecover calls 76/43976/2
authorAdrian Villin <[email protected]>
Mon, 27 Oct 2025 07:55:43 +0000 (08:55 +0100)
committerFlorin Coras <[email protected]>
Mon, 27 Oct 2025 15:47:29 +0000 (15:47 +0000)
Type: test

Change-Id: Ib25fcab314ac4e3c08f670fe81e26699b80cea83
Signed-off-by: Adrian Villin <[email protected]>
test-c/kube-test/infra/suite_base.go

index fafc716..9203c7f 100644 (file)
@@ -157,6 +157,7 @@ func (s *BaseSuite) WaitForComponents() {
 
        for _, check := range checks {
                go func(c kubeComponent) {
+                       defer GinkgoRecover()
                        defer wg.Done()
 
                        cmd := exec.Command("kubectl", "-n", c.namespace, "rollout", "status", fmt.Sprintf("%s/%s", c.resourceType, c.resourceName))
@@ -170,6 +171,7 @@ func (s *BaseSuite) WaitForComponents() {
 
        wg.Add(1)
        go func() {
+               defer GinkgoRecover()
                defer wg.Done()
 
                cmd := exec.Command("kubectl", "-n", "calico-apiserver", "rollout", "status", "deployment/calico-apiserver")