From 428995a362a0cb132e0c5f969a3ca899459638fc Mon Sep 17 00:00:00 2001 From: Matthias Wessendorf Date: Mon, 18 Dec 2023 21:24:45 +0100 Subject: [PATCH] :lipstick: Running gofmt... (#449) Signed-off-by: Matthias Wessendorf --- test/e2e/broker_defaults_webhook_test.go | 26 ++++++++++++------------ test/rekt/sink_binding_test.go | 2 +- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/test/e2e/broker_defaults_webhook_test.go b/test/e2e/broker_defaults_webhook_test.go index cf6d344e937..f6655179994 100644 --- a/test/e2e/broker_defaults_webhook_test.go +++ b/test/e2e/broker_defaults_webhook_test.go @@ -84,19 +84,19 @@ func TestBrokerNamespaceDefaulting(t *testing.T) { // Instead of updating the CM directly, we need to update its definition in KnativeEventing: /* - cm.Data[config.BrokerDefaultsKey] = string(b) - - cm, err = c.Kube.CoreV1().ConfigMaps(system.Namespace()).Update(ctx, cm, metav1.UpdateOptions{}) - if err != nil { - return err - } - - b, err = yaml.Marshal(cm.Data[config.BrokerDefaultsKey]) - if err != nil { - t.Log("error", err) - } else { - t.Log("CM updated - new values:", string(b)) - } + cm.Data[config.BrokerDefaultsKey] = string(b) + + cm, err = c.Kube.CoreV1().ConfigMaps(system.Namespace()).Update(ctx, cm, metav1.UpdateOptions{}) + if err != nil { + return err + } + + b, err = yaml.Marshal(cm.Data[config.BrokerDefaultsKey]) + if err != nil { + t.Log("error", err) + } else { + t.Log("CM updated - new values:", string(b)) + } */ knativeEventing, err := c.Dynamic. diff --git a/test/rekt/sink_binding_test.go b/test/rekt/sink_binding_test.go index cccafdafe1a..121e625699a 100644 --- a/test/rekt/sink_binding_test.go +++ b/test/rekt/sink_binding_test.go @@ -62,7 +62,7 @@ func TestSinkBindingV1DeploymentTLS(t *testing.T) { } func TestSinkBindingV1Job(t *testing.T) { - t.Skip("SRVKE-500: Skipping since we set bindings to inclusion") + t.Skip("SRVKE-500: Skipping since we set bindings to inclusion") t.Parallel() ctx, env := global.Environment(