Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestAdmitBelowQuotaLimit (0.16 sec)

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

    	if err != nil {
    		t.Errorf("Did not expect an error because the action went to a subresource: %v", err)
    	}
    }
    
    // TestAdmitBelowQuotaLimit verifies that a pod when created has its usage reflected on the quota
    func TestAdmitBelowQuotaLimit(t *testing.T) {
    	resourceQuota := &corev1.ResourceQuota{
    		ObjectMeta: metav1.ObjectMeta{Name: "quota", Namespace: "test", ResourceVersion: "124"},
    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