Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for expectedEndpoints (0.23 sec)

  1. pkg/controlplane/reconcilers/endpointsadapter_test.go

    	testCases := map[string]struct {
    		expectedError     error
    		expectedEndpoints *corev1.Endpoints
    		initialState      []runtime.Object
    		namespaceParam    string
    		nameParam         string
    	}{
    		"single-existing-endpoints": {
    			expectedError:     nil,
    			expectedEndpoints: endpoints1,
    			initialState:      []runtime.Object{endpoints1, epSlice1},
    			namespaceParam:    "testing",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 12:23:16 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  2. pkg/controller/endpointslicemirroring/reconciler_test.go

    			if expectedEndpoint.epAddress.Hostname != "" {
    				t.Errorf("Expected hostname to be %s, got nil", expectedEndpoint.epAddress.Hostname)
    			}
    		} else if expectedEndpoint.epAddress.Hostname != *endpoint.Hostname {
    			t.Errorf("Expected hostname to be %s, got %s", expectedEndpoint.epAddress.Hostname, *endpoint.Hostname)
    		}
    
    		if expectedEndpoint.epAddress.NodeName != nil {
    			if endpoint.NodeName == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 26 06:51:56 UTC 2024
    - 42.7K bytes
    - Viewed (0)
Back to top