mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-21 19:01:49 +00:00
Merge pull request #96487 from ii/promote-lifecycle-test-deployment
Promote AppsV1Deployment resource lifecycle test - +6 endpoint coverage
This commit is contained in:
commit
1ea29cec9c
8
test/conformance/testdata/conformance.yaml
vendored
8
test/conformance/testdata/conformance.yaml
vendored
@ -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]'
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user