diff --git a/lifecycle-operator/controllers/options/keptnconfig_controller_test.go b/lifecycle-operator/controllers/options/keptnconfig_controller_test.go index e41df9783a..53a2977190 100644 --- a/lifecycle-operator/controllers/options/keptnconfig_controller_test.go +++ b/lifecycle-operator/controllers/options/keptnconfig_controller_test.go @@ -307,7 +307,7 @@ func TestKeptnConfigReconciler_reconcileOtelCollectorUrl(t *testing.T) { wantErr bool }{ { - name: "Test garbage URL", + name: "set URL", fields: fields{ Client: nil, Scheme: nil, @@ -326,8 +326,8 @@ func TestKeptnConfigReconciler_reconcileOtelCollectorUrl(t *testing.T) { }, }, }, - want: ctrl.Result{Requeue: true, RequeueAfter: 10 * time.Second}, - wantErr: true, + want: ctrl.Result{}, + wantErr: false, }, { name: "Test with no URL",