Merge pull request #111440 from verb/111025-ec-conformance

Promote Ephemeral Containers e2e test to Conformance
This commit is contained in:
Kubernetes Prow Robot 2022-08-08 15:35:57 -07:00 committed by GitHub
commit 25a3274a4f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 1 deletions

View File

@ -1871,6 +1871,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

@ -39,7 +39,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"},