Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for fetchEndpointSlices (0.15 sec)

  1. pkg/controller/endpointslicemirroring/endpointslicemirroring_controller_test.go

    					return false, nil
    				}
    				return true, nil
    			})
    			if err != nil {
    				t.Fatal("Timed out waiting for expected actions")
    			}
    
    			endpointSlices := fetchEndpointSlices(t, client, namespace)
    			expectEndpointSlices(t, tc.expectedNumSlices, int(defaultMaxEndpointsPerSubset), *tc.endpoints, endpointSlices)
    		})
    	}
    }
    
    func TestShouldMirror(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 12 12:57:29 UTC 2023
    - 13.9K bytes
    - Viewed (0)
  2. pkg/controller/endpointslicemirroring/reconciler_test.go

    			}
    
    			if tc.expectedMetrics != nil {
    				expectMetrics(t, *tc.expectedMetrics)
    			}
    
    			endpointSlices := fetchEndpointSlices(t, client, namespace)
    			expectEndpointSlices(t, tc.expectedNumSlices, int(maxEndpointsPerSubset), endpoints, endpointSlices)
    		})
    	}
    }
    
    // Test Helpers
    
    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