Promote Node lifecycle e2e test to Conformance

This commit is contained in:
Stephen Heywood 2024-09-10 09:59:59 +12:00
parent 0c5e832aa2
commit ca0b314975
2 changed files with 18 additions and 1 deletions

View File

@ -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

View File

@ -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()