Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for DeleteAndWait (0.11 sec)

  1. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/admission_test.go

    	require.ErrorContains(t,
    		testContext.Plugin.Dispatch(
    			testContext,
    			record,
    			&admission.RuntimeObjectInterfaces{},
    		),
    		`Denied`)
    
    	require.NoError(t, testContext.DeleteAndWait(denyPolicy))
    
    	require.NoError(t, testContext.Plugin.Dispatch(
    		testContext,
    		// Object is irrelevant/unchecked for this test. Just test that
    		// the evaluator is executed, and returns a denial
    		record,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 25 01:39:01 UTC 2024
    - 63.8K bytes
    - Viewed (0)
Back to top