Merge pull request #121718 from tkashem/apf-conformance
Promote flowcontrol tests to conformance
This commit is contained in:
		
							
								
								
									
										22
									
								
								test/conformance/testdata/conformance.yaml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										22
									
								
								test/conformance/testdata/conformance.yaml
									
									
									
									
										vendored
									
									
								
							@@ -1,3 +1,25 @@
 | 
			
		||||
- testname: Priority and Fairness FlowSchema API
 | 
			
		||||
  codename: '[sig-api-machinery] API priority and fairness should support FlowSchema
 | 
			
		||||
    API operations [Conformance]'
 | 
			
		||||
  description: ' The flowcontrol.apiserver.k8s.io API group MUST exist in the /apis
 | 
			
		||||
    discovery document. The flowcontrol.apiserver.k8s.io/v1 API group/version MUST
 | 
			
		||||
    exist in the /apis/flowcontrol.apiserver.k8s.io discovery document. The flowschemas
 | 
			
		||||
    and flowschemas/status resources MUST exist in the /apis/flowcontrol.apiserver.k8s.io/v1
 | 
			
		||||
    discovery document. The flowschema resource must support create, get, list, watch,
 | 
			
		||||
    update, patch, delete, and deletecollection.'
 | 
			
		||||
  release: v1.29
 | 
			
		||||
  file: test/e2e/apimachinery/flowcontrol.go
 | 
			
		||||
- testname: Priority and Fairness PriorityLevelConfiguration API
 | 
			
		||||
  codename: '[sig-api-machinery] API priority and fairness should support PriorityLevelConfiguration
 | 
			
		||||
    API operations [Conformance]'
 | 
			
		||||
  description: ' The flowcontrol.apiserver.k8s.io API group MUST exist in the /apis
 | 
			
		||||
    discovery document. The flowcontrol.apiserver.k8s.io/v1 API group/version MUST
 | 
			
		||||
    exist in the /apis/flowcontrol.apiserver.k8s.io discovery document. The prioritylevelconfiguration
 | 
			
		||||
    and prioritylevelconfiguration/status resources MUST exist in the /apis/flowcontrol.apiserver.k8s.io/v1
 | 
			
		||||
    discovery document. The prioritylevelconfiguration resource must support create,
 | 
			
		||||
    get, list, watch, update, patch, delete, and deletecollection.'
 | 
			
		||||
  release: v1.29
 | 
			
		||||
  file: test/e2e/apimachinery/flowcontrol.go
 | 
			
		||||
- testname: Admission webhook, list mutating webhooks
 | 
			
		||||
  codename: '[sig-api-machinery] AdmissionWebhook [Privileged:ClusterAdmin] listing
 | 
			
		||||
    mutating webhooks should work [Conformance]'
 | 
			
		||||
 
 | 
			
		||||
@@ -256,9 +256,10 @@ var _ = SIGDescribe("API priority and fairness", func() {
 | 
			
		||||
 | 
			
		||||
	/*
 | 
			
		||||
	   Release: v1.29
 | 
			
		||||
			   Testname: FlowSchema API
 | 
			
		||||
	   Testname: Priority and Fairness FlowSchema API
 | 
			
		||||
	   Description:
 | 
			
		||||
			   The flowcontrol.apiserver.k8s.io API group MUST exist in the /apis discovery document.
 | 
			
		||||
	   The flowcontrol.apiserver.k8s.io API group MUST exist in the
 | 
			
		||||
	     /apis discovery document.
 | 
			
		||||
	   The flowcontrol.apiserver.k8s.io/v1 API group/version MUST exist
 | 
			
		||||
	     in the /apis/flowcontrol.apiserver.k8s.io discovery document.
 | 
			
		||||
	   The flowschemas and flowschemas/status resources MUST exist
 | 
			
		||||
@@ -266,7 +267,7 @@ var _ = SIGDescribe("API priority and fairness", func() {
 | 
			
		||||
	   The flowschema resource must support create, get, list, watch,
 | 
			
		||||
	     update, patch, delete, and deletecollection.
 | 
			
		||||
	*/
 | 
			
		||||
	ginkgo.It("should support Priority and Fairness FlowSchema API operations", func(ctx context.Context) {
 | 
			
		||||
	framework.ConformanceIt("should support FlowSchema API operations", func(ctx context.Context) {
 | 
			
		||||
		fsVersion := "v1"
 | 
			
		||||
		ginkgo.By("getting /apis")
 | 
			
		||||
		{
 | 
			
		||||
@@ -498,17 +499,19 @@ var _ = SIGDescribe("API priority and fairness", func() {
 | 
			
		||||
 | 
			
		||||
	/*
 | 
			
		||||
	   Release: v1.29
 | 
			
		||||
					Testname: PriorityLevelConfiguration API
 | 
			
		||||
	   Testname: Priority and Fairness PriorityLevelConfiguration API
 | 
			
		||||
	   Description:
 | 
			
		||||
					The flowcontrol.apiserver.k8s.io API group MUST exist in the /apis discovery document.
 | 
			
		||||
	   The flowcontrol.apiserver.k8s.io API group MUST exist in the
 | 
			
		||||
	     /apis discovery document.
 | 
			
		||||
	   The flowcontrol.apiserver.k8s.io/v1 API group/version MUST exist
 | 
			
		||||
	     in the /apis/flowcontrol.apiserver.k8s.io discovery document.
 | 
			
		||||
					The prioritylevelconfiguration and prioritylevelconfiguration/status resources
 | 
			
		||||
		                          MUST exist in the /apis/flowcontrol.apiserver.k8s.io/v1 discovery document.
 | 
			
		||||
					The prioritylevelconfiguration resource must support create, get, list, watch,
 | 
			
		||||
				          update, patch, delete, and deletecollection.
 | 
			
		||||
	   The prioritylevelconfiguration and prioritylevelconfiguration/status
 | 
			
		||||
	     resources MUST exist in the
 | 
			
		||||
	     /apis/flowcontrol.apiserver.k8s.io/v1 discovery document.
 | 
			
		||||
	   The prioritylevelconfiguration resource must support create, get,
 | 
			
		||||
	     list, watch, update, patch, delete, and deletecollection.
 | 
			
		||||
	*/
 | 
			
		||||
	ginkgo.It("should support Priority and Fairness PriorityLevelConfiguration API operations", func(ctx context.Context) {
 | 
			
		||||
	framework.ConformanceIt("should support PriorityLevelConfiguration API operations", func(ctx context.Context) {
 | 
			
		||||
		plVersion := "v1"
 | 
			
		||||
		ginkgo.By("getting /apis")
 | 
			
		||||
		{
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user