File tree Expand file tree Collapse file tree 1 file changed +0
-16
lines changed
Expand file tree Collapse file tree 1 file changed +0
-16
lines changed Original file line number Diff line number Diff 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 {
You can’t perform that action at this time.
0 commit comments