Skip to content

Commit cdac5b0

Browse files
committed
rebase on main
Signed-off-by: alekspog <aleksey.pogibelev@gmail.com>
1 parent 0e6f614 commit cdac5b0

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

internal/controllers/alert_controller_test.go

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -271,11 +271,6 @@ func TestAlertReconciler_EventHandler(t *testing.T) {
271271
Name: "*",
272272
Namespace: "test",
273273
},
274-
{
275-
Kind: "Kustomization",
276-
Name: "testwildcardnamespace",
277-
Namespace: "*",
278-
},
279274
},
280275
ExclusionList: []string{
281276
"doesnotoccur", // not intended to match
@@ -384,17 +379,6 @@ func TestAlertReconciler_EventHandler(t *testing.T) {
384379
},
385380
forwarded: true,
386381
},
387-
{
388-
name: "forwards events when namespace wildcard is used",
389-
modifyEventFunc: func(e eventv1.Event) eventv1.Event {
390-
e.InvolvedObject.Kind = "Kustomization"
391-
e.InvolvedObject.Name = "testwildcardnamespace"
392-
e.InvolvedObject.Namespace = "test-" + randStringRunes(5)
393-
e.Message = "test"
394-
return e
395-
},
396-
forwarded: true,
397-
},
398382
{
399383
name: "forwards events when the label matches",
400384
modifyEventFunc: func(e eventv1.Event) eventv1.Event {

0 commit comments

Comments
 (0)