Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for checkLeftoverEndpoints (0.32 sec)

  1. pkg/controller/endpoint/endpoints_controller_test.go

    		},
    		Subsets: []v1.EndpointSubset{{
    			Addresses: []v1.EndpointAddress{{IP: "6.7.8.9", NodeName: &emptyNodeName}},
    			Ports:     []v1.EndpointPort{{Port: 1000}},
    		}},
    	})
    	endpoints.checkLeftoverEndpoints()
    	if e, a := 1, endpoints.queue.Len(); e != a {
    		t.Fatalf("Expected %v, got %v", e, a)
    	}
    	got, _ := endpoints.queue.Get()
    	if e, a := ns+"/foo", got; e != a {
    		t.Errorf("Expected %v, got %v", e, a)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 26 06:51:56 UTC 2024
    - 87.7K bytes
    - Viewed (0)
Back to top