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
 | 
					- testname: Admission webhook, list mutating webhooks
 | 
				
			||||||
  codename: '[sig-api-machinery] AdmissionWebhook [Privileged:ClusterAdmin] listing
 | 
					  codename: '[sig-api-machinery] AdmissionWebhook [Privileged:ClusterAdmin] listing
 | 
				
			||||||
    mutating webhooks should work [Conformance]'
 | 
					    mutating webhooks should work [Conformance]'
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -255,18 +255,19 @@ var _ = SIGDescribe("API priority and fairness", func() {
 | 
				
			|||||||
	})
 | 
						})
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	/*
 | 
						/*
 | 
				
			||||||
			   Release: v1.29
 | 
						   Release: v1.29
 | 
				
			||||||
			   Testname: FlowSchema API
 | 
						   Testname: Priority and Fairness FlowSchema API
 | 
				
			||||||
		           Description:
 | 
						   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
 | 
				
			||||||
			   The flowcontrol.apiserver.k8s.io/v1 API group/version MUST exist
 | 
						     /apis discovery document.
 | 
				
			||||||
			    in the /apis/flowcontrol.apiserver.k8s.io discovery document.
 | 
						   The flowcontrol.apiserver.k8s.io/v1 API group/version MUST exist
 | 
				
			||||||
			   The flowschemas and flowschemas/status resources MUST exist
 | 
						     in the /apis/flowcontrol.apiserver.k8s.io discovery document.
 | 
				
			||||||
			    in the /apis/flowcontrol.apiserver.k8s.io/v1 discovery document.
 | 
						   The flowschemas and flowschemas/status resources MUST exist
 | 
				
			||||||
			   The flowschema resource must support create, get, list, watch,
 | 
						     in the /apis/flowcontrol.apiserver.k8s.io/v1 discovery document.
 | 
				
			||||||
			    update, patch, delete, and deletecollection.
 | 
						   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"
 | 
							fsVersion := "v1"
 | 
				
			||||||
		ginkgo.By("getting /apis")
 | 
							ginkgo.By("getting /apis")
 | 
				
			||||||
		{
 | 
							{
 | 
				
			||||||
@@ -497,18 +498,20 @@ var _ = SIGDescribe("API priority and fairness", func() {
 | 
				
			|||||||
	})
 | 
						})
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	/*
 | 
						/*
 | 
				
			||||||
					Release: v1.29
 | 
						   Release: v1.29
 | 
				
			||||||
					Testname: PriorityLevelConfiguration API
 | 
						   Testname: Priority and Fairness PriorityLevelConfiguration API
 | 
				
			||||||
					Description:
 | 
						   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
 | 
				
			||||||
					The flowcontrol.apiserver.k8s.io/v1 API group/version MUST exist
 | 
						     /apis discovery document.
 | 
				
			||||||
					  in the /apis/flowcontrol.apiserver.k8s.io discovery document.
 | 
						   The flowcontrol.apiserver.k8s.io/v1 API group/version MUST exist
 | 
				
			||||||
					The prioritylevelconfiguration and prioritylevelconfiguration/status resources
 | 
						     in the /apis/flowcontrol.apiserver.k8s.io discovery document.
 | 
				
			||||||
		                          MUST exist in the /apis/flowcontrol.apiserver.k8s.io/v1 discovery document.
 | 
						   The prioritylevelconfiguration and prioritylevelconfiguration/status
 | 
				
			||||||
					The prioritylevelconfiguration resource must support create, get, list, watch,
 | 
						     resources MUST exist in the
 | 
				
			||||||
				          update, patch, delete, and deletecollection.
 | 
						     /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"
 | 
							plVersion := "v1"
 | 
				
			||||||
		ginkgo.By("getting /apis")
 | 
							ginkgo.By("getting /apis")
 | 
				
			||||||
		{
 | 
							{
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user