Promote Ephemeral Containers e2e test to Conformance

This commit is contained in:
Lee Verberne 2022-07-24 17:29:57 +02:00
parent f88f76f444
commit 14ee775215
2 changed files with 11 additions and 1 deletions

View File

@ -1842,6 +1842,13 @@
visible at runtime in the container. visible at runtime in the container.
release: v1.9 release: v1.9
file: test/e2e/common/node/downwardapi.go file: test/e2e/common/node/downwardapi.go
- testname: Ephemeral Container Creation
codename: '[sig-node] Ephemeral Containers [NodeConformance] will start an ephemeral
container in an existing pod [Conformance]'
description: Adding an ephemeral container to pod.spec MUST result in the container
running.
release: "1.25"
file: test/e2e/common/node/ephemeral_containers.go
- testname: init-container-starts-app-restartalways-pod - testname: init-container-starts-app-restartalways-pod
codename: '[sig-node] InitContainer [NodeConformance] should invoke init containers codename: '[sig-node] InitContainer [NodeConformance] should invoke init containers
on a RestartAlways pod [Conformance]' on a RestartAlways pod [Conformance]'

View File

@ -41,7 +41,10 @@ var _ = SIGDescribe("Ephemeral Containers [NodeConformance]", func() {
podClient = f.PodClient() podClient = f.PodClient()
}) })
ginkgo.It("will start an ephemeral container in an existing pod", func() { // Release: 1.25
// Testname: Ephemeral Container Creation
// Description: Adding an ephemeral container to pod.spec MUST result in the container running.
framework.ConformanceIt("will start an ephemeral container in an existing pod", func() {
ginkgo.By("creating a target pod") ginkgo.By("creating a target pod")
pod := podClient.CreateSync(&v1.Pod{ pod := podClient.CreateSync(&v1.Pod{
ObjectMeta: metav1.ObjectMeta{Name: "ephemeral-containers-target-pod"}, ObjectMeta: metav1.ObjectMeta{Name: "ephemeral-containers-target-pod"},