From 98213efee3d6550ce488d3d05c484ef483e83fa0 Mon Sep 17 00:00:00 2001 From: Manuel Alejandro de Brito Fontes Date: Mon, 12 Feb 2018 14:33:26 -0800 Subject: [PATCH] Fix spelling errors (#2076) --- .../ingress/controller/store/store_test.go | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/internal/ingress/controller/store/store_test.go b/internal/ingress/controller/store/store_test.go index 4c436c920..9522f13d0 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)