Promote Daemonset list and deleteCollection e2e test to Conformance

This commit is contained in:
Stephen Heywood 2021-05-26 14:09:50 +12:00
parent 91200bac44
commit e89d2a7779
2 changed files with 16 additions and 1 deletions

View File

@ -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]'

View File

@ -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()