Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestValidateEndpointSliceCreate (0.28 sec)

  1. pkg/apis/discovery/validation/validation_test.go

    			if len(errs) != testCase.expectedErrors {
    				t.Errorf("Expected %d errors, got %d errors: %v", testCase.expectedErrors, len(errs), errs)
    			}
    		})
    	}
    }
    
    func TestValidateEndpointSliceCreate(t *testing.T) {
    	standardMeta := metav1.ObjectMeta{
    		Name:      "hello",
    		Namespace: "world",
    	}
    
    	testCases := map[string]struct {
    		expectedErrors      int
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jan 05 10:48:05 UTC 2023
    - 23.9K bytes
    - Viewed (0)
Back to top