Promote e2e eviction test to conformance

This commit is contained in:
Jordan Liggitt 2021-04-01 23:18:45 -04:00
parent 10b07085f8
commit a07d4460bf
2 changed files with 14 additions and 1 deletions

View File

@ -704,6 +704,14 @@
description: PodDisruptionBudget API must support list and deletecollection operations. description: PodDisruptionBudget API must support list and deletecollection operations.
release: v1.21 release: v1.21
file: test/e2e/apps/disruption.go file: test/e2e/apps/disruption.go
- testname: 'PodDisruptionBudget: block an eviction until the PDB is updated to allow
it'
codename: '[sig-apps] DisruptionController should block an eviction until the PDB
is updated to allow it [Conformance]'
description: Eviction API must block an eviction until the PDB is updated to allow
it
release: v1.22
file: test/e2e/apps/disruption.go
- testname: 'PodDisruptionBudget: create, update, patch, and delete object' - testname: 'PodDisruptionBudget: create, update, patch, and delete object'
codename: '[sig-apps] DisruptionController should create a PodDisruptionBudget [Conformance]' codename: '[sig-apps] DisruptionController should create a PodDisruptionBudget [Conformance]'
description: PodDisruptionBudget API must support create, update, patch, and delete description: PodDisruptionBudget API must support create, update, patch, and delete

View File

@ -314,7 +314,12 @@ var _ = SIGDescribe("DisruptionController", func() {
}) })
} }
ginkgo.It("should block an eviction until the PDB is updated to allow it", func() { /*
Release : v1.22
Testname: PodDisruptionBudget: block an eviction until the PDB is updated to allow it
Description: Eviction API must block an eviction until the PDB is updated to allow it
*/
framework.ConformanceIt("should block an eviction until the PDB is updated to allow it", func() {
ginkgo.By("Creating a pdb that targets all three pods in a test replica set") ginkgo.By("Creating a pdb that targets all three pods in a test replica set")
createPDBMinAvailableOrDie(cs, ns, defaultName, intstr.FromInt(3), defaultLabels) createPDBMinAvailableOrDie(cs, ns, defaultName, intstr.FromInt(3), defaultLabels)
createReplicaSetOrDie(cs, ns, 3, false) createReplicaSetOrDie(cs, ns, 3, false)