diff --git a/internal/ingress/controller/store/store_test.go b/internal/ingress/controller/store/store_test.go index 4c436c9209..9522f13d07 100644 --- a/internal/ingress/controller/store/store_test.go +++ b/internal/ingress/controller/store/store_test.go @@ -245,13 +245,13 @@ func TestStore(t *testing.T) { framework.WaitForNoIngressInNamespace(clientSet, ni.Namespace, ni.Name) if atomic.LoadUint64(&add) != 1 { - t.Errorf("expected 1 event of type Create but %v ocurred", add) + t.Errorf("expected 1 event of type Create but %v occurred", add) } if atomic.LoadUint64(&upd) != 1 { - t.Errorf("expected 1 event of type Update but %v ocurred", upd) + t.Errorf("expected 1 event of type Update but %v occurred", upd) } if atomic.LoadUint64(&del) != 1 { - t.Errorf("expected 1 event of type Delete but %v ocurred", del) + t.Errorf("expected 1 event of type Delete but %v occurred", del) } close(updateCh) @@ -313,13 +313,13 @@ func TestStore(t *testing.T) { time.Sleep(1 * time.Second) if atomic.LoadUint64(&add) != 0 { - t.Errorf("expected 0 events of type Create but %v ocurred", add) + t.Errorf("expected 0 events of type Create but %v occurred", add) } if atomic.LoadUint64(&upd) != 0 { - t.Errorf("expected 0 events of type Update but %v ocurred", upd) + t.Errorf("expected 0 events of type Update but %v occurred", upd) } if atomic.LoadUint64(&del) != 0 { - t.Errorf("expected 0 events of type Delete but %v ocurred", del) + t.Errorf("expected 0 events of type Delete but %v occurred", del) } err = clientSet.CoreV1().Secrets(ns.Name).Delete(secretName, &metav1.DeleteOptions{}) @@ -330,13 +330,13 @@ func TestStore(t *testing.T) { time.Sleep(1 * time.Second) if atomic.LoadUint64(&add) != 0 { - t.Errorf("expected 0 events of type Create but %v ocurred", add) + t.Errorf("expected 0 events of type Create but %v occurred", add) } if atomic.LoadUint64(&upd) != 0 { - t.Errorf("expected 0 events of type Update but %v ocurred", upd) + t.Errorf("expected 0 events of type Update but %v occurred", upd) } if atomic.LoadUint64(&del) != 1 { - t.Errorf("expected 1 events of type Delete but %v ocurred", del) + t.Errorf("expected 1 events of type Delete but %v occurred", del) } close(updateCh) @@ -434,13 +434,13 @@ func TestStore(t *testing.T) { } if atomic.LoadUint64(&add) != 1 { - t.Errorf("expected 1 events of type Create but %v ocurred", add) + t.Errorf("expected 1 events of type Create but %v occurred", add) } if atomic.LoadUint64(&upd) != 0 { - t.Errorf("expected 0 events of type Update but %v ocurred", upd) + t.Errorf("expected 0 events of type Update but %v occurred", upd) } if atomic.LoadUint64(&del) != 0 { - t.Errorf("expected 0 events of type Delete but %v ocurred", del) + t.Errorf("expected 0 events of type Delete but %v occurred", del) } _, _, _, err = framework.CreateIngressTLSSecret(clientSet, secretHosts, name, ns.Name)