Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestAdmitDryRun (0.14 sec)

  1. plugin/pkg/admission/resourcequota/admission_test.go

    			t.Errorf("Usage Used: Key: %v, Expected: %v, Actual: %v", k, expectedValue, actualValue)
    		}
    	}
    }
    
    // TestAdmitDryRun verifies that a pod when created with dry-run doesn not have its usage reflected on the quota
    // and that dry-run requests can still be rejected if they would exceed the quota
    func TestAdmitDryRun(t *testing.T) {
    	resourceQuota := &corev1.ResourceQuota{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 21:28:42 UTC 2024
    - 84.1K bytes
    - Viewed (0)
Back to top