mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-21 10:51:29 +00:00
Promote e2e eviction test to conformance
This commit is contained in:
parent
10b07085f8
commit
a07d4460bf
8
test/conformance/testdata/conformance.yaml
vendored
8
test/conformance/testdata/conformance.yaml
vendored
@ -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
|
||||||
|
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user