Skip to content

Commit c12aeb2

Browse files
authored
Merge pull request kubernetes#89753 from ii/promote-event-resource-lifecycle-test
Promote Event resource lifecycle test +5 test endpoint coverage
2 parents b850b5c + b50a710 commit c12aeb2

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

test/conformance/testdata/conformance.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -804,6 +804,14 @@
804804
definitions MUST be published for custom resource definitions.
805805
release: v1.16
806806
file: test/e2e/apimachinery/crd_publish_openapi.go
807+
- testname: Event resource lifecycle
808+
codename: '[sig-api-machinery] Events should ensure that an event can be fetched,
809+
patched, deleted, and listed [Conformance]'
810+
description: Create an event, the event MUST exist. The event is patched with a
811+
new message, the check MUST have the update message. The event is deleted and
812+
MUST NOT show up when listing all events.
813+
release: v1.19
814+
file: test/e2e/framework/events/events.go
807815
- testname: Garbage Collector, delete deployment, propagation policy background
808816
codename: '[sig-api-machinery] Garbage collector should delete RS created by deployment
809817
when not orphaning [Conformance]'

test/e2e/framework/events/events.go

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,14 @@ type Action func() error
3939
var _ = ginkgo.Describe("[sig-api-machinery] Events", func() {
4040
f := framework.NewDefaultFramework("events")
4141

42-
ginkgo.It("should ensure that an event can be fetched, patched, deleted, and listed", func() {
42+
/*
43+
Release : v1.19
44+
Testname: Event resource lifecycle
45+
Description: Create an event, the event MUST exist.
46+
The event is patched with a new message, the check MUST have the update message.
47+
The event is deleted and MUST NOT show up when listing all events.
48+
*/
49+
framework.ConformanceIt("should ensure that an event can be fetched, patched, deleted, and listed", func() {
4350
eventTestName := "event-test"
4451

4552
ginkgo.By("creating a test event")

0 commit comments

Comments
 (0)