mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-09 03:57:41 +00:00
Promote Node lifecycle e2e test to Conformance
This commit is contained in:
parent
0c5e832aa2
commit
ca0b314975
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.
|
be evicted if the taint is removed before toleration time ends.
|
||||||
release: v1.16
|
release: v1.16
|
||||||
file: test/e2e/node/taints.go
|
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
|
- testname: PodTemplate, delete a collection
|
||||||
codename: '[sig-node] PodTemplates should delete a collection of pod templates [Conformance]'
|
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
|
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 := framework.NewDefaultFramework("fake-node")
|
||||||
f.NamespacePodSecurityLevel = admissionapi.LevelPrivileged
|
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
|
// the scope of this test only covers the api-server
|
||||||
|
|
||||||
nodeClient := f.ClientSet.CoreV1().Nodes()
|
nodeClient := f.ClientSet.CoreV1().Nodes()
|
||||||
|
Loading…
Reference in New Issue
Block a user