Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestShouldMirror (0.68 sec)

  1. pkg/controller/endpointslicemirroring/endpointslicemirroring_controller_test.go

    			}
    
    			endpointSlices := fetchEndpointSlices(t, client, namespace)
    			expectEndpointSlices(t, tc.expectedNumSlices, int(defaultMaxEndpointsPerSubset), *tc.endpoints, endpointSlices)
    		})
    	}
    }
    
    func TestShouldMirror(t *testing.T) {
    	testCases := []struct {
    		testName     string
    		endpoints    *v1.Endpoints
    		shouldMirror bool
    	}{{
    		testName: "Standard Endpoints",
    		endpoints: &v1.Endpoints{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 12 12:57:29 UTC 2023
    - 13.9K bytes
    - Viewed (0)
Back to top