Skip to content

Commit ca0b314

Browse files
committed
Promote Node lifecycle e2e test to Conformance
1 parent 0c5e832 commit ca0b314

File tree

2 files changed

+18
-1
lines changed

2 files changed

+18
-1
lines changed

test/conformance/testdata/conformance.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2267,6 +2267,15 @@
22672267
be evicted if the taint is removed before toleration time ends.
22682268
release: v1.16
22692269
file: test/e2e/node/taints.go
2270+
- testname: Node, resource lifecycle
2271+
codename: '[sig-node] Node Lifecycle should run through the lifecycle of a node
2272+
[Conformance]'
2273+
description: Creating and Reading a Node MUST succeed with required name retrieved.
2274+
Patching a Node MUST succeed with its new label found. Listing Nodes with a labelSelector
2275+
MUST succeed with only a single node found. Updating a Node MUST succeed with
2276+
its new label found. Deleting the Node MUST succeed and its deletion MUST be confirmed.
2277+
release: v1.32
2278+
file: test/e2e/node/node_lifecycle.go
22702279
- testname: PodTemplate, delete a collection
22712280
codename: '[sig-node] PodTemplates should delete a collection of pod templates [Conformance]'
22722281
description: A set of Pod Templates is created with a label selector which MUST

test/e2e/node/node_lifecycle.go

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,15 @@ var _ = SIGDescribe("Node Lifecycle", func() {
4040
f := framework.NewDefaultFramework("fake-node")
4141
f.NamespacePodSecurityLevel = admissionapi.LevelPrivileged
4242

43-
ginkgo.It("should run through the lifecycle of a node", func(ctx context.Context) {
43+
/*
44+
Release: v1.32
45+
Testname: Node, resource lifecycle
46+
Description: Creating and Reading a Node MUST succeed with required name retrieved.
47+
Patching a Node MUST succeed with its new label found. Listing Nodes with a labelSelector
48+
MUST succeed with only a single node found. Updating a Node MUST succeed with
49+
its new label found. Deleting the Node MUST succeed and its deletion MUST be confirmed.
50+
*/
51+
framework.ConformanceIt("should run through the lifecycle of a node", func(ctx context.Context) {
4452
// the scope of this test only covers the api-server
4553

4654
nodeClient := f.ClientSet.CoreV1().Nodes()

0 commit comments

Comments
 (0)