diff --git a/test/e2e/broker_defaults_webhook_test.go b/test/e2e/broker_defaults_webhook_test.go index 6516401d07b..2de94e531fb 100644 --- a/test/e2e/broker_defaults_webhook_test.go +++ b/test/e2e/broker_defaults_webhook_test.go @@ -130,6 +130,7 @@ func TestBrokerNamespaceDefaulting(t *testing.T) { Namespace(c.Namespace). Create(ctx, obj, metav1.CreateOptions{}) assert.Nil(t, err) + n = n + 1 broker := &eventingv1.Broker{} err = runtime.DefaultUnstructuredConverter.FromUnstructured(createdObj.Object, broker)