Promote Ephemeral containers e2e test to Conformance

This commit is contained in:
Stephen Heywood 2023-05-29 11:46:10 +12:00
parent b374404825
commit 11a40406a1
2 changed files with 18 additions and 1 deletions

View File

@ -1950,6 +1950,15 @@
visible at runtime in the container.
release: v1.9
file: test/e2e/common/node/downwardapi.go
- testname: Ephemeral Container, update ephemeral containers
codename: '[sig-node] Ephemeral Containers [NodeConformance] should update the ephemeral
containers in an existing pod [Conformance]'
description: Adding an ephemeral container to pod.spec MUST result in the container
running. There MUST now be only one ephermal container found. Updating the pod
with another ephemeral container MUST succeed. There MUST now be two ephermal
containers found.
release: v1.28
file: test/e2e/common/node/ephemeral_containers.go
- testname: Ephemeral Container Creation
codename: '[sig-node] Ephemeral Containers [NodeConformance] will start an ephemeral
container in an existing pod [Conformance]'

View File

@ -87,7 +87,15 @@ var _ = SIGDescribe("Ephemeral Containers [NodeConformance]", func() {
gomega.Expect(log).To(gomega.ContainSubstring("polo"))
})
ginkgo.It("should update the ephemeral containers in an existing pod", func(ctx context.Context) {
/*
Release: v1.28
Testname: Ephemeral Container, update ephemeral containers
Description: Adding an ephemeral container to pod.spec MUST result in the container
running. There MUST now be only one ephermal container found. Updating the pod with
another ephemeral container MUST succeed. There MUST now be two ephermal containers
found.
*/
framework.ConformanceIt("should update the ephemeral containers in an existing pod", func(ctx context.Context) {
ginkgo.By("creating a target pod")
pod := podClient.CreateSync(ctx, &v1.Pod{
ObjectMeta: metav1.ObjectMeta{Name: "ephemeral-containers-target-pod"},