mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-15 06:43:54 +00:00
Promote Ephemeral containers e2e test to Conformance
This commit is contained in:
parent
b374404825
commit
11a40406a1
9
test/conformance/testdata/conformance.yaml
vendored
9
test/conformance/testdata/conformance.yaml
vendored
@ -1950,6 +1950,15 @@
|
|||||||
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, 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
|
- testname: Ephemeral Container Creation
|
||||||
codename: '[sig-node] Ephemeral Containers [NodeConformance] will start an ephemeral
|
codename: '[sig-node] Ephemeral Containers [NodeConformance] will start an ephemeral
|
||||||
container in an existing pod [Conformance]'
|
container in an existing pod [Conformance]'
|
||||||
|
@ -87,7 +87,15 @@ var _ = SIGDescribe("Ephemeral Containers [NodeConformance]", func() {
|
|||||||
gomega.Expect(log).To(gomega.ContainSubstring("polo"))
|
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")
|
ginkgo.By("creating a target pod")
|
||||||
pod := podClient.CreateSync(ctx, &v1.Pod{
|
pod := podClient.CreateSync(ctx, &v1.Pod{
|
||||||
ObjectMeta: metav1.ObjectMeta{Name: "ephemeral-containers-target-pod"},
|
ObjectMeta: metav1.ObjectMeta{Name: "ephemeral-containers-target-pod"},
|
||||||
|
Loading…
Reference in New Issue
Block a user