Merge pull request #119394 from aroradaman/fix/proxy-conntrack

Fix stale conntrack flow detection logic
This commit is contained in:
Kubernetes Prow Robot
2023-09-03 14:53:46 -07:00
committed by GitHub
5 changed files with 144 additions and 93 deletions

View File

@@ -5271,7 +5271,7 @@ func TestProxierDeleteNodePortStaleUDP(t *testing.T) {
eps.Endpoints = []discovery.Endpoint{{
Addresses: []string{epIP},
Conditions: discovery.EndpointConditions{
Ready: pointer.Bool(false),
Serving: pointer.Bool(false),
},
}}
eps.Ports = []discovery.EndpointPort{{
@@ -5294,7 +5294,7 @@ func TestProxierDeleteNodePortStaleUDP(t *testing.T) {
eps.Endpoints = []discovery.Endpoint{{
Addresses: []string{epIP},
Conditions: discovery.EndpointConditions{
Ready: pointer.Bool(true),
Serving: pointer.Bool(true),
},
}}
eps.Ports = []discovery.EndpointPort{{