Merge pull request #127255 from ii/promote-node-lifecycle-test

Promote Node lifecycle e2e test to Conformance
This commit is contained in:
Kubernetes Prow Robot 2024-09-10 20:14:41 +01:00 committed by GitHub
commit 5baa0623f9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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()