Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for Test_validateProbe (0.23 sec)

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

    	}
    	for _, p := range errorCases {
    		if errs := validateProbe(p, defaultGracePeriod, field.NewPath("field")); len(errs) == 0 {
    			t.Errorf("expected failure for %v", p)
    		}
    	}
    }
    
    func Test_validateProbe(t *testing.T) {
    	fldPath := field.NewPath("test")
    	type args struct {
    		probe   *core.Probe
    		fldPath *field.Path
    	}
    	tests := []struct {
    		name string
    		args args
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 857.7K bytes
    - Viewed (0)
Back to top