mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-11-03 19:58:17 +00:00 
			
		
		
		
	Merge pull request #127255 from ii/promote-node-lifecycle-test
Promote Node lifecycle e2e test to Conformance
This commit is contained in:
		
							
								
								
									
										9
									
								
								test/conformance/testdata/conformance.yaml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										9
									
								
								test/conformance/testdata/conformance.yaml
									
									
									
									
										vendored
									
									
								
							@@ -2267,6 +2267,15 @@
 | 
			
		||||
    be evicted if the taint is removed before toleration time ends.
 | 
			
		||||
  release: v1.16
 | 
			
		||||
  file: test/e2e/node/taints.go
 | 
			
		||||
- testname: Node, resource lifecycle
 | 
			
		||||
  codename: '[sig-node] Node Lifecycle should run through the lifecycle of a node
 | 
			
		||||
    [Conformance]'
 | 
			
		||||
  description: Creating and Reading a Node MUST succeed with required name retrieved.
 | 
			
		||||
    Patching a Node MUST succeed with its new label found. Listing Nodes with a labelSelector
 | 
			
		||||
    MUST succeed with only a single node found. Updating a Node MUST succeed with
 | 
			
		||||
    its new label found. Deleting the Node MUST succeed and its deletion MUST be confirmed.
 | 
			
		||||
  release: v1.32
 | 
			
		||||
  file: test/e2e/node/node_lifecycle.go
 | 
			
		||||
- testname: PodTemplate, delete a collection
 | 
			
		||||
  codename: '[sig-node] PodTemplates should delete a collection of pod templates [Conformance]'
 | 
			
		||||
  description: A set of Pod Templates is created with a label selector which MUST
 | 
			
		||||
 
 | 
			
		||||
@@ -40,7 +40,15 @@ var _ = SIGDescribe("Node Lifecycle", func() {
 | 
			
		||||
	f := framework.NewDefaultFramework("fake-node")
 | 
			
		||||
	f.NamespacePodSecurityLevel = admissionapi.LevelPrivileged
 | 
			
		||||
 | 
			
		||||
	ginkgo.It("should run through the lifecycle of a node", func(ctx context.Context) {
 | 
			
		||||
	/*
 | 
			
		||||
		Release: v1.32
 | 
			
		||||
		Testname: Node, resource lifecycle
 | 
			
		||||
		Description: Creating and Reading a Node MUST succeed with required name retrieved.
 | 
			
		||||
		Patching a Node MUST succeed with its new label found. Listing Nodes with a labelSelector
 | 
			
		||||
		MUST succeed with only a single node found. Updating a Node MUST succeed with
 | 
			
		||||
		its new label found. Deleting the Node MUST succeed and its deletion MUST be confirmed.
 | 
			
		||||
	*/
 | 
			
		||||
	framework.ConformanceIt("should run through the lifecycle of a node", func(ctx context.Context) {
 | 
			
		||||
		// the scope of this test only covers the api-server
 | 
			
		||||
 | 
			
		||||
		nodeClient := f.ClientSet.CoreV1().Nodes()
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user