mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-26 21:17:23 +00:00
Merge pull request #92813 from ii/heyste-create-delete-core-v1-collection-namespaced-event-test
Promote deleteCoreV1CollectionNamespacedEvent test - +1 endpoint coverage
This commit is contained in:
commit
1f4da99f69
7
test/conformance/testdata/conformance.yaml
vendored
7
test/conformance/testdata/conformance.yaml
vendored
@ -801,6 +801,13 @@
|
|||||||
definitions MUST be published for custom resource definitions.
|
definitions MUST be published for custom resource definitions.
|
||||||
release: v1.16
|
release: v1.16
|
||||||
file: test/e2e/apimachinery/crd_publish_openapi.go
|
file: test/e2e/apimachinery/crd_publish_openapi.go
|
||||||
|
- testname: Event, delete a collection
|
||||||
|
codename: '[sig-api-machinery] Events should delete a collection of events [Conformance]'
|
||||||
|
description: A set of events is created with a label selector which MUST be found
|
||||||
|
when listed. The set of events is deleted and MUST NOT show up when listed by
|
||||||
|
its label selector.
|
||||||
|
release: v1.19
|
||||||
|
file: test/e2e/apimachinery/events.go
|
||||||
- testname: Event resource lifecycle
|
- testname: Event resource lifecycle
|
||||||
codename: '[sig-api-machinery] Events should ensure that an event can be fetched,
|
codename: '[sig-api-machinery] Events should ensure that an event can be fetched,
|
||||||
patched, deleted, and listed [Conformance]'
|
patched, deleted, and listed [Conformance]'
|
||||||
|
@ -123,7 +123,13 @@ var _ = ginkgo.Describe("[sig-api-machinery] Events", func() {
|
|||||||
framework.ExpectEqual(foundCreatedEvent, false, "should not have found test event after deletion")
|
framework.ExpectEqual(foundCreatedEvent, false, "should not have found test event after deletion")
|
||||||
})
|
})
|
||||||
|
|
||||||
ginkgo.It("should delete a collection of events", func() {
|
/*
|
||||||
|
Release : v1.19
|
||||||
|
Testname: Event, delete a collection
|
||||||
|
Description: A set of events is created with a label selector which MUST be found when listed.
|
||||||
|
The set of events is deleted and MUST NOT show up when listed by its label selector.
|
||||||
|
*/
|
||||||
|
framework.ConformanceIt("should delete a collection of events", func() {
|
||||||
eventTestNames := []string{"test-event-1", "test-event-2", "test-event-3"}
|
eventTestNames := []string{"test-event-1", "test-event-2", "test-event-3"}
|
||||||
|
|
||||||
ginkgo.By("Create set of events")
|
ginkgo.By("Create set of events")
|
||||||
|
Loading…
Reference in New Issue
Block a user