mirror of
https://github.com/optim-enterprises-bv/kubernetes.git
synced 2025-11-03 03:38:15 +00:00
Fix reporting network_programming_latency metrics in kube-proxy
This commit is contained in:
@@ -1413,6 +1413,14 @@ func TestLastChangeTriggerTime(t *testing.T) {
|
||||
},
|
||||
expected: map[types.NamespacedName][]time.Time{createName("ns", "ep1"): {t2}},
|
||||
},
|
||||
{
|
||||
name: "delete",
|
||||
scenario: func(fp *FakeProxier) {
|
||||
e := createEndpoints("ns", "ep1", t1)
|
||||
fp.deleteEndpoints(e)
|
||||
},
|
||||
expected: map[types.NamespacedName][]time.Time{},
|
||||
},
|
||||
}
|
||||
|
||||
for _, tc := range testCases {
|
||||
|
||||
Reference in New Issue
Block a user