From 08e0a4675703d5844b2dc1d215f4eb82868ccdb9 Mon Sep 17 00:00:00 2001 From: Morten Torkildsen Date: Tue, 9 Mar 2021 12:26:02 -0800 Subject: [PATCH] Promote PodDisruptionBudget e2e test to Conformance --- test/conformance/testdata/conformance.yaml | 7 +++++++ test/e2e/apps/disruption.go | 8 +++++++- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/test/conformance/testdata/conformance.yaml b/test/conformance/testdata/conformance.yaml index 3dc2ae2d11b..499129ab1df 100755 --- a/test/conformance/testdata/conformance.yaml +++ b/test/conformance/testdata/conformance.yaml @@ -698,6 +698,13 @@ MUST succeed. It MUST succeed when deleting the Deployment. release: v1.20 file: test/e2e/apps/deployment.go +- testname: 'PodDisruptionBudget: Status updates' + codename: '[sig-apps] DisruptionController should observe PodDisruptionBudget status + updated [Conformance]' + description: Disruption controller MUST update the PDB status with how many disruptions + are allowed. + release: v1.21 + file: test/e2e/apps/disruption.go - testname: Jobs, orphan pods, re-adoption codename: '[sig-apps] Job should adopt matching orphans and release non-matching pods [Conformance]' diff --git a/test/e2e/apps/disruption.go b/test/e2e/apps/disruption.go index a425ce46a60..dc855079353 100644 --- a/test/e2e/apps/disruption.go +++ b/test/e2e/apps/disruption.go @@ -95,7 +95,13 @@ var _ = SIGDescribe("DisruptionController", func() { createPDBMinAvailableOrDie(cs, ns, defaultName, intstr.FromString("1%"), defaultLabels) }) - ginkgo.It("should observe PodDisruptionBudget status updated", func() { + /* + Release : v1.21 + Testname: PodDisruptionBudget: Status updates + Description: Disruption controller MUST update the PDB status with + how many disruptions are allowed. + */ + framework.ConformanceIt("should observe PodDisruptionBudget status updated", func() { createPDBMinAvailableOrDie(cs, ns, defaultName, intstr.FromInt(1), defaultLabels) createPodsOrDie(cs, ns, 3)