mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-28 22:17:14 +00:00
modify test
This commit is contained in:
parent
e46fe0b673
commit
0b133c7fa9
@ -1629,6 +1629,7 @@ func TestCloudEvent_Match(t *testing.T) {
|
|||||||
name: "event with resource = 'Pod' matching with coming events carries same actionType",
|
name: "event with resource = 'Pod' matching with coming events carries same actionType",
|
||||||
event: ClusterEvent{Resource: Pod, ActionType: UpdateNodeLabel | UpdateNodeTaint},
|
event: ClusterEvent{Resource: Pod, ActionType: UpdateNodeLabel | UpdateNodeTaint},
|
||||||
comingEvent: ClusterEvent{Resource: Pod, ActionType: UpdateNodeLabel},
|
comingEvent: ClusterEvent{Resource: Pod, ActionType: UpdateNodeLabel},
|
||||||
|
wantResult: true,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "event with resource = '*' matching with coming events carries same actionType",
|
name: "event with resource = '*' matching with coming events carries same actionType",
|
||||||
|
Loading…
Reference in New Issue
Block a user