Skip to content

Commit

Permalink
rebase on main
Browse files Browse the repository at this point in the history
Signed-off-by: alekspog <[email protected]>
  • Loading branch information
alekspog committed Mar 30, 2023
1 parent 0e6f614 commit cdac5b0
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions internal/controllers/alert_controller_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -271,11 +271,6 @@ func TestAlertReconciler_EventHandler(t *testing.T) {
Name: "*",
Namespace: "test",
},
{
Kind: "Kustomization",
Name: "testwildcardnamespace",
Namespace: "*",
},
},
ExclusionList: []string{
"doesnotoccur", // not intended to match
Expand Down Expand Up @@ -384,17 +379,6 @@ func TestAlertReconciler_EventHandler(t *testing.T) {
},
forwarded: true,
},
{
name: "forwards events when namespace wildcard is used",
modifyEventFunc: func(e eventv1.Event) eventv1.Event {
e.InvolvedObject.Kind = "Kustomization"
e.InvolvedObject.Name = "testwildcardnamespace"
e.InvolvedObject.Namespace = "test-" + randStringRunes(5)
e.Message = "test"
return e
},
forwarded: true,
},
{
name: "forwards events when the label matches",
modifyEventFunc: func(e eventv1.Event) eventv1.Event {
Expand Down

0 comments on commit cdac5b0

Please sign in to comment.