Promote replace podtemplate e2e test to Conformance

This commit is contained in:
Stephen Heywood 2022-03-02 10:33:02 +13:00
parent 8ab0a59394
commit 5597b0c4fb
2 changed files with 15 additions and 1 deletions

View File

@ -1927,6 +1927,13 @@
when listed by its label selector. when listed by its label selector.
release: v1.19 release: v1.19
file: test/e2e/common/node/podtemplates.go file: test/e2e/common/node/podtemplates.go
- testname: PodTemplate, replace
codename: '[sig-node] PodTemplates should replace a pod template [Conformance]'
description: Attempt to create a PodTemplate which MUST succeed. Attempt to replace
the PodTemplate to include a new annotation which MUST succeed. The annotation
MUST be found in the new PodTemplate.
release: v1.24
file: test/e2e/common/node/podtemplates.go
- testname: PodTemplate lifecycle - testname: PodTemplate lifecycle
codename: '[sig-node] PodTemplates should run the lifecycle of PodTemplates [Conformance]' codename: '[sig-node] PodTemplates should run the lifecycle of PodTemplates [Conformance]'
description: Attempt to create a PodTemplate. Patch the created PodTemplate. Fetching description: Attempt to create a PodTemplate. Patch the created PodTemplate. Fetching

View File

@ -164,7 +164,14 @@ var _ = SIGDescribe("PodTemplates", func() {
}) })
ginkgo.It("should replace a pod template", func() { /*
Release: v1.24
Testname: PodTemplate, replace
Description: Attempt to create a PodTemplate which MUST succeed.
Attempt to replace the PodTemplate to include a new annotation
which MUST succeed. The annotation MUST be found in the new PodTemplate.
*/
framework.ConformanceIt("should replace a pod template", func() {
ptClient := f.ClientSet.CoreV1().PodTemplates(f.Namespace.Name) ptClient := f.ClientSet.CoreV1().PodTemplates(f.Namespace.Name)
ptName := "podtemplate-" + utilrand.String(5) ptName := "podtemplate-" + utilrand.String(5)