From e89d2a777957e8fd84692552b7c6e750c4ca00f7 Mon Sep 17 00:00:00 2001 From: Stephen Heywood Date: Wed, 26 May 2021 14:09:50 +1200 Subject: [PATCH] Promote Daemonset list and deleteCollection e2e test to Conformance --- test/conformance/testdata/conformance.yaml | 8 ++++++++ test/e2e/apps/daemon_set.go | 9 ++++++++- 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/test/conformance/testdata/conformance.yaml b/test/conformance/testdata/conformance.yaml index e840ff9ac8d..b11f27ce161 100755 --- a/test/conformance/testdata/conformance.yaml +++ b/test/conformance/testdata/conformance.yaml @@ -613,6 +613,14 @@ and deletecollection. CronJob/status MUST support get, update and patch.' release: v1.21 file: test/e2e/apps/cronjob.go +- testname: DaemonSet, list and delete a collection of DaemonSets + codename: '[sig-apps] Daemon set [Serial] should list and delete a collection of + DaemonSets [Conformance]' + description: When a DaemonSet is created it MUST succeed. It MUST succeed when listing + DaemonSets via a label selector. It MUST succeed when deleting the DaemonSet via + deleteCollection. + release: v1.22 + file: test/e2e/apps/daemon_set.go - testname: DaemonSet-FailedPodCreation codename: '[sig-apps] Daemon set [Serial] should retry creating failed daemon pods [Conformance]' diff --git a/test/e2e/apps/daemon_set.go b/test/e2e/apps/daemon_set.go index 99a6097f096..81387efad0f 100644 --- a/test/e2e/apps/daemon_set.go +++ b/test/e2e/apps/daemon_set.go @@ -809,7 +809,14 @@ var _ = SIGDescribe("Daemon set [Serial]", func() { checkDaemonSetPodsLabels(listDaemonPods(c, ns, label), hash) }) - ginkgo.It("should list and delete a collection of DaemonSets", func() { + /* + Release: v1.22 + Testname: DaemonSet, list and delete a collection of DaemonSets + Description: When a DaemonSet is created it MUST succeed. It + MUST succeed when listing DaemonSets via a label selector. It + MUST succeed when deleting the DaemonSet via deleteCollection. + */ + framework.ConformanceIt("should list and delete a collection of DaemonSets", func() { label := map[string]string{daemonsetNameLabel: dsName} labelSelector := labels.SelectorFromSet(label).String()