Skip to content

Commit

Permalink
Merge pull request kubernetes#96485 from ii/promote-lifecycle-test-po…
Browse files Browse the repository at this point in the history
…d-podstatus

Promote Pod+PodStatus resource lifecycle test - +4 endpoint coverage
  • Loading branch information
k8s-ci-robot authored Nov 23, 2020
2 parents 540e41c + 16480d8 commit 8b2f5be
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
8 changes: 8 additions & 0 deletions test/conformance/testdata/conformance.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,14 @@
IP address.
release: v1.9
file: test/e2e/common/pods.go
- testname: Pods, completes the lifecycle of a Pod and the PodStatus
codename: '[k8s.io] Pods should run through the lifecycle of Pods and PodStatus
[Conformance]'
description: A Pod is created with a static label which MUST succeed. It MUST succeed
when patching the label and the pod data. When checking and replacing the PodStatus
it MUST succeed. It MUST succeed when deleting the Pod.
release: v1.20
file: test/e2e/common/pods.go
- testname: Pods, remote command execution over websocket
codename: '[k8s.io] Pods should support remote command execution over websockets
[NodeConformance] [Conformance]'
Expand Down
9 changes: 8 additions & 1 deletion test/e2e/common/pods.go
Original file line number Diff line number Diff line change
Expand Up @@ -884,7 +884,14 @@ var _ = framework.KubeDescribe("Pods", func() {
framework.ExpectNoError(err, "found a pod(s)")
})

ginkgo.It("should run through the lifecycle of Pods and PodStatus", func() {
/*
Release: v1.20
Testname: Pods, completes the lifecycle of a Pod and the PodStatus
Description: A Pod is created with a static label which MUST succeed. It MUST succeed when
patching the label and the pod data. When checking and replacing the PodStatus it MUST
succeed. It MUST succeed when deleting the Pod.
*/
framework.ConformanceIt("should run through the lifecycle of Pods and PodStatus", func() {
podResource := schema.GroupVersionResource{Group: "", Version: "v1", Resource: "pods"}
testNamespaceName := f.Namespace.Name
testPodName := "pod-test"
Expand Down

0 comments on commit 8b2f5be

Please sign in to comment.