modify test

This commit is contained in:
Kensei Nakada 2024-07-19 01:25:56 +09:00
parent e46fe0b673
commit 0b133c7fa9

View File

@ -1629,6 +1629,7 @@ func TestCloudEvent_Match(t *testing.T) {
name: "event with resource = 'Pod' matching with coming events carries same actionType",
event: ClusterEvent{Resource: Pod, ActionType: UpdateNodeLabel | UpdateNodeTaint},
comingEvent: ClusterEvent{Resource: Pod, ActionType: UpdateNodeLabel},
wantResult: true,
},
{
name: "event with resource = '*' matching with coming events carries same actionType",