Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for NewNonMutatingTestCases (0.19 sec)

  1. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/mutating/plugin_test.go

    	stopCh := make(chan struct{})
    	defer close(stopCh)
    
    	testCases := append(webhooktesting.NewMutatingTestCases(serverURL, "test-webhooks"),
    		webhooktesting.ConvertToMutatingTestCases(webhooktesting.NewNonMutatingTestCases(serverURL), "test-webhooks")...)
    
    	for _, tt := range testCases {
    		// For now, skip failure cases or tests that explicitly skip benchmarking
    		if !tt.ExpectAllow || tt.SkipBenchmark {
    			continue
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:52 UTC 2024
    - 11K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/validating/plugin_test.go

    	if err != nil {
    		b.Fatalf("this should never happen? %v", err)
    	}
    
    	stopCh := make(chan struct{})
    	defer close(stopCh)
    
    	for _, tt := range webhooktesting.NewNonMutatingTestCases(serverURL) {
    		// For now, skip failure cases or tests that explicitly skip benchmarking
    		if !tt.ExpectAllow || tt.SkipBenchmark {
    			continue
    		}
    
    		b.Run(tt.Name, func(b *testing.B) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:52 UTC 2024
    - 11.9K bytes
    - Viewed (0)
Back to top