Merge pull request #96487 from ii/promote-lifecycle-test-deployment

Promote AppsV1Deployment resource lifecycle test - +6 endpoint coverage
This commit is contained in:
Kubernetes Prow Robot 2020-11-19 13:02:51 -08:00 committed by GitHub
commit 1ea29cec9c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 17 additions and 1 deletions

View File

@ -1191,6 +1191,14 @@
before the rollout finishes.
release: v1.12
file: test/e2e/apps/deployment.go
- testname: Deployment, completes the lifecycle of a Deployment
codename: '[sig-apps] Deployment should run the lifecycle of a Deployment [Conformance]'
description: When a Deployment is created it MUST succeed with the required number
of replicas. It MUST succeed when the Deployment is patched. When scaling the
deployment is MUST succeed. When fetching and patching the DeploymentStatus it
MUST succeed. It MUST succeed when deleting the Deployment.
release: v1.20
file: test/e2e/apps/deployment.go
- testname: Jobs, orphan pods, re-adoption
codename: '[sig-apps] Job should adopt matching orphans and release non-matching
pods [Conformance]'

View File

@ -152,7 +152,15 @@ var _ = SIGDescribe("Deployment", func() {
// TODO: add tests that cover deployment.Spec.MinReadySeconds once we solved clock-skew issues
// See https://github.com/kubernetes/kubernetes/issues/29229
ginkgo.It("should run the lifecycle of a Deployment", func() {
/*
Release: v1.20
Testname: Deployment, completes the lifecycle of a Deployment
Description: When a Deployment is created it MUST succeed with the required number of replicas.
It MUST succeed when the Deployment is patched. When scaling the deployment is MUST succeed.
When fetching and patching the DeploymentStatus it MUST succeed. It MUST succeed when deleting
the Deployment.
*/
framework.ConformanceIt("should run the lifecycle of a Deployment", func() {
zero := int64(0)
deploymentResource := schema.GroupVersionResource{Group: "apps", Version: "v1", Resource: "deployments"}
testNamespaceName := f.Namespace.Name