Promote Deployment lifecycle e2e test to Conformance

This commit is contained in:
Stephen Heywood 2020-11-12 13:19:05 +13:00
parent 0469db9fe7
commit e6f7fed324
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