Skip to content

Commit

Permalink
adapt unit test
Browse files Browse the repository at this point in the history
Signed-off-by: Florian Bacher <[email protected]>
  • Loading branch information
bacherfl committed Apr 8, 2024
1 parent 2188879 commit 112fb5c
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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",
Expand Down

0 comments on commit 112fb5c

Please sign in to comment.