Skip to content

Commit 7e04ffb

Browse files
committed
Promote Event CRUD tests to conformance
1 parent 1bcf42b commit 7e04ffb

File tree

2 files changed

+24
-3
lines changed

2 files changed

+24
-3
lines changed

test/conformance/testdata/conformance.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1491,6 +1491,21 @@
14911491
the replicaset to 2. Number of running instances of the Pod MUST be 2.
14921492
release: v1.9
14931493
file: test/e2e/kubectl/kubectl.go
1494+
- testname: New Event resource lifecycle, testing a list of events
1495+
codename: '[sig-instrumentation] Events API should delete a collection of events
1496+
[Conformance]'
1497+
description: Create a list of events, the events MUST exist. The events are deleted
1498+
and MUST NOT show up when listing all events.
1499+
release: v1.19
1500+
file: test/e2e/instrumentation/events.go
1501+
- testname: New Event resource lifecycle, testing a single event
1502+
codename: '[sig-instrumentation] Events API should ensure that an event can be fetched,
1503+
patched, deleted, and listed [Conformance]'
1504+
description: Create an event, the event MUST exist. The event is patched with a
1505+
new note, the check MUST have the update note. The event is deleted and MUST NOT
1506+
show up when listing all events.
1507+
release: v1.19
1508+
file: test/e2e/instrumentation/events.go
14941509
- testname: DNS, cluster
14951510
codename: '[sig-network] DNS should provide /etc/hosts entries for the cluster [LinuxOnly]
14961511
[Conformance]'

test/e2e/instrumentation/events.go

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,12 +86,12 @@ var _ = common.SIGDescribe("Events API", func() {
8686

8787
/*
8888
Release : v1.19
89-
Testname: Event resource lifecycle
89+
Testname: New Event resource lifecycle, testing a single event
9090
Description: Create an event, the event MUST exist.
9191
The event is patched with a new note, the check MUST have the update note.
9292
The event is deleted and MUST NOT show up when listing all events.
9393
*/
94-
ginkgo.It("should ensure that an event can be fetched, patched, deleted, and listed", func() {
94+
framework.ConformanceIt("should ensure that an event can be fetched, patched, deleted, and listed", func() {
9595
eventName := "event-test"
9696

9797
ginkgo.By("creating a test event")
@@ -160,7 +160,13 @@ var _ = common.SIGDescribe("Events API", func() {
160160
framework.ExpectEqual(foundCreatedEvent, false, "should not have found test event after deletion")
161161
})
162162

163-
ginkgo.It("should delete a collection of events", func() {
163+
/*
164+
Release : v1.19
165+
Testname: New Event resource lifecycle, testing a list of events
166+
Description: Create a list of events, the events MUST exist.
167+
The events are deleted and MUST NOT show up when listing all events.
168+
*/
169+
framework.ConformanceIt("should delete a collection of events", func() {
164170
eventNames := []string{"test-event-1", "test-event-2", "test-event-3"}
165171

166172
ginkgo.By("Create set of events")

0 commit comments

Comments
 (0)