mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-11-04 04:08:16 +00:00 
			
		
		
		
	Promote ControllerRevision e2e test to Conformance
This commit is contained in:
		
							
								
								
									
										16
									
								
								test/conformance/testdata/conformance.yaml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										16
									
								
								test/conformance/testdata/conformance.yaml
									
									
									
									
										vendored
									
									
								
							@@ -594,6 +594,22 @@
 | 
			
		||||
    and minor versions MUST only be an integer.
 | 
			
		||||
  release: v1.19
 | 
			
		||||
  file: test/e2e/apimachinery/server_version.go
 | 
			
		||||
- testname: ControllerRevision, resource lifecycle
 | 
			
		||||
  codename: '[sig-apps] ControllerRevision [Serial] should manage the lifecycle of
 | 
			
		||||
    a ControllerRevision [Conformance]'
 | 
			
		||||
  description: Creating a DaemonSet MUST succeed. Listing all ControllerRevisions
 | 
			
		||||
    with a label selector MUST find only one. After patching the ControllerRevision
 | 
			
		||||
    with a new label, the label MUST be found. Creating a new ControllerRevision for
 | 
			
		||||
    the DaemonSet MUST succeed. Listing the ControllerRevisions by label selector
 | 
			
		||||
    MUST find only two. Deleting a ControllerRevision MUST succeed. Listing the ControllerRevisions
 | 
			
		||||
    by label selector MUST find only one. After updating the ControllerRevision with
 | 
			
		||||
    a new label, the label MUST be found. Patching the DaemonSet MUST succeed. Listing
 | 
			
		||||
    the ControllerRevisions by label selector MUST find only two. Deleting a collection
 | 
			
		||||
    of ControllerRevision via a label selector MUST succeed. Listing the ControllerRevisions
 | 
			
		||||
    by label selector MUST find only one. The current ControllerRevision revision
 | 
			
		||||
    MUST be 3.
 | 
			
		||||
  release: v1.25
 | 
			
		||||
  file: test/e2e/apps/controller_revision.go
 | 
			
		||||
- testname: CronJob Suspend
 | 
			
		||||
  codename: '[sig-apps] CronJob should not schedule jobs when suspended [Slow] [Conformance]'
 | 
			
		||||
  description: CronJob MUST support suspension, which suppresses creation of new jobs.
 | 
			
		||||
 
 | 
			
		||||
@@ -104,7 +104,24 @@ var _ = SIGDescribe("ControllerRevision [Serial]", func() {
 | 
			
		||||
		framework.ExpectNoError(err)
 | 
			
		||||
	})
 | 
			
		||||
 | 
			
		||||
	ginkgo.It("should manage the lifecycle of a ControllerRevision", func() {
 | 
			
		||||
	/*
 | 
			
		||||
		Release: v1.25
 | 
			
		||||
		Testname: ControllerRevision, resource lifecycle
 | 
			
		||||
		Description: Creating a DaemonSet MUST succeed. Listing all
 | 
			
		||||
		ControllerRevisions with a label selector MUST find only one.
 | 
			
		||||
		After patching the ControllerRevision with a new label, the label
 | 
			
		||||
		MUST be found. Creating a new ControllerRevision for the DaemonSet
 | 
			
		||||
		MUST succeed. Listing the ControllerRevisions by label selector
 | 
			
		||||
		MUST find only two. Deleting a ControllerRevision MUST succeed.
 | 
			
		||||
		Listing the ControllerRevisions by label selector MUST find only
 | 
			
		||||
		one. After updating the ControllerRevision with a new label, the
 | 
			
		||||
		label MUST be found. Patching the DaemonSet MUST succeed. Listing the
 | 
			
		||||
		ControllerRevisions by label selector MUST find only two. Deleting
 | 
			
		||||
		a collection of ControllerRevision via a label selector MUST succeed.
 | 
			
		||||
		Listing the ControllerRevisions by label selector MUST find only one.
 | 
			
		||||
		The current ControllerRevision revision MUST be 3.
 | 
			
		||||
	*/
 | 
			
		||||
	framework.ConformanceIt("should manage the lifecycle of a ControllerRevision", func() {
 | 
			
		||||
		csAppsV1 := f.ClientSet.AppsV1()
 | 
			
		||||
 | 
			
		||||
		dsLabel := map[string]string{"daemonset-name": dsName}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user