Skip to content

Commit 3072d1e

Browse files
authored
Merge pull request kubernetes#88036 from ii/promote-podtemplate-lifecycle
Promote: PodTemplate Lifecycle test - +3 conformance endpoint coverage
2 parents 007f7ae + ce97b49 commit 3072d1e

File tree

2 files changed

+16
-3
lines changed

2 files changed

+16
-3
lines changed

test/conformance/testdata/conformance.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1735,6 +1735,14 @@
17351735
visible at runtime in the container.
17361736
release: v1.9
17371737
file: test/e2e/common/downward_api.go
1738+
- testname: PodTemplate lifecycle
1739+
codename: '[sig-node] PodTemplates should run the lifecycle of PodTemplates [Conformance]'
1740+
description: Attempt to create a PodTemplate. Patch the created PodTemplate. Fetching
1741+
the PodTemplate MUST reflect changes. By fetching all the PodTemplates via a Label
1742+
selector it MUST find the PodTemplate by it's static label and updated value.
1743+
The PodTemplate must be deleted.
1744+
release: v1.19
1745+
file: test/e2e/common/podtemplates.go
17381746
- testname: LimitRange, resources
17391747
codename: '[sig-scheduling] LimitRange should create a LimitRange with defaults
17401748
and ensure pod has those defaults applied. [Conformance]'

test/e2e/common/podtemplates.go

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,15 @@ import (
2929
"github.com/onsi/ginkgo"
3030
)
3131

32-
var _ = ginkgo.Describe("[sig-architecture] PodTemplates", func() {
32+
var _ = ginkgo.Describe("[sig-node] PodTemplates", func() {
3333
f := framework.NewDefaultFramework("podtemplate")
34-
35-
ginkgo.It("should run the lifecycle of PodTemplates", func() {
34+
/*
35+
Release : v1.19
36+
Testname: PodTemplate lifecycle
37+
Description: Attempt to create a PodTemplate. Patch the created PodTemplate. Fetching the PodTemplate MUST reflect changes.
38+
By fetching all the PodTemplates via a Label selector it MUST find the PodTemplate by it's static label and updated value. The PodTemplate must be deleted.
39+
*/
40+
framework.ConformanceIt("should run the lifecycle of PodTemplates", func() {
3641
testNamespaceName := f.Namespace.Name
3742
podTemplateName := "nginx-pod-template-" + string(uuid.NewUUID())
3843

0 commit comments

Comments
 (0)