From ca0b314975413c98f05d45f441c36a88cb301f67 Mon Sep 17 00:00:00 2001 From: Stephen Heywood Date: Tue, 10 Sep 2024 09:59:59 +1200 Subject: [PATCH] Promote Node lifecycle e2e test to Conformance --- test/conformance/testdata/conformance.yaml | 9 +++++++++ test/e2e/node/node_lifecycle.go | 10 +++++++++- 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/test/conformance/testdata/conformance.yaml b/test/conformance/testdata/conformance.yaml index 4d848ac8398..f8c50c699dc 100755 --- a/test/conformance/testdata/conformance.yaml +++ b/test/conformance/testdata/conformance.yaml @@ -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 diff --git a/test/e2e/node/node_lifecycle.go b/test/e2e/node/node_lifecycle.go index 95b4a208e08..76698e6f21e 100644 --- a/test/e2e/node/node_lifecycle.go +++ b/test/e2e/node/node_lifecycle.go @@ -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()