Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for TestUpdateEndpointsMap (0.18 sec)

  1. pkg/proxy/endpointschangetracker_test.go

    			Labels: map[string]string{
    				discovery.LabelServiceName: name,
    			},
    		},
    		AddressType: discovery.AddressTypeIPv4,
    	}
    	epsFunc(eps)
    	return eps
    }
    
    func TestUpdateEndpointsMap(t *testing.T) {
    	emptyEndpoint := func(eps *discovery.EndpointSlice) {
    		eps.Endpoints = []discovery.Endpoint{}
    	}
    	unnamedPort := func(eps *discovery.EndpointSlice) {
    		eps.Endpoints = []discovery.Endpoint{{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Dec 21 14:44:08 UTC 2023
    - 79.9K bytes
    - Viewed (0)
  2. pkg/proxy/nftables/proxier_test.go

    					newEp.IsLocal() != expected[x][i].isLocal {
    					t.Errorf("[%d] expected new[%v][%d] to be %v, got %v", tci, x, i, expected[x][i], newEp)
    				}
    			}
    		}
    	}
    }
    
    func TestUpdateEndpointsMap(t *testing.T) {
    	emptyEndpointSlices := []*discovery.EndpointSlice{
    		makeTestEndpointSlice("ns1", "ep1", 1, func(*discovery.EndpointSlice) {}),
    	}
    	subset1 := func(eps *discovery.EndpointSlice) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 01:31:57 UTC 2024
    - 173.5K bytes
    - Viewed (0)
  3. pkg/proxy/iptables/proxier_test.go

    					newEp.IsLocal() != expected[x][i].isLocal {
    					t.Errorf("[%d] expected new[%v][%d] to be %v, got %v", tci, x, i, expected[x][i], newEp)
    				}
    			}
    		}
    	}
    }
    
    func TestUpdateEndpointsMap(t *testing.T) {
    	emptyEndpointSlices := []*discovery.EndpointSlice{
    		makeTestEndpointSlice("ns1", "ep1", 1, func(*discovery.EndpointSlice) {}),
    	}
    	subset1 := func(eps *discovery.EndpointSlice) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 14:39:54 UTC 2024
    - 249.9K bytes
    - Viewed (0)
Back to top