mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-25 04:33:26 +00:00
Merge pull request #92755 from chelseychen/event-e2e-conformance
Promote Event CRUD tests to conformance
This commit is contained in:
commit
c237804533
15
test/conformance/testdata/conformance.yaml
vendored
15
test/conformance/testdata/conformance.yaml
vendored
@ -1504,6 +1504,21 @@
|
||||
the replicaset to 2. Number of running instances of the Pod MUST be 2.
|
||||
release: v1.9
|
||||
file: test/e2e/kubectl/kubectl.go
|
||||
- testname: New Event resource lifecycle, testing a list of events
|
||||
codename: '[sig-instrumentation] Events API should delete a collection of events
|
||||
[Conformance]'
|
||||
description: Create a list of events, the events MUST exist. The events are deleted
|
||||
and MUST NOT show up when listing all events.
|
||||
release: v1.19
|
||||
file: test/e2e/instrumentation/events.go
|
||||
- testname: New Event resource lifecycle, testing a single event
|
||||
codename: '[sig-instrumentation] Events API should ensure that an event can be fetched,
|
||||
patched, deleted, and listed [Conformance]'
|
||||
description: Create an event, the event MUST exist. The event is patched with a
|
||||
new note, the check MUST have the update note. The event is deleted and MUST NOT
|
||||
show up when listing all events.
|
||||
release: v1.19
|
||||
file: test/e2e/instrumentation/events.go
|
||||
- testname: DNS, cluster
|
||||
codename: '[sig-network] DNS should provide /etc/hosts entries for the cluster [LinuxOnly]
|
||||
[Conformance]'
|
||||
|
@ -86,12 +86,12 @@ var _ = common.SIGDescribe("Events API", func() {
|
||||
|
||||
/*
|
||||
Release : v1.19
|
||||
Testname: Event resource lifecycle
|
||||
Testname: New Event resource lifecycle, testing a single event
|
||||
Description: Create an event, the event MUST exist.
|
||||
The event is patched with a new note, the check MUST have the update note.
|
||||
The event is deleted and MUST NOT show up when listing all events.
|
||||
*/
|
||||
ginkgo.It("should ensure that an event can be fetched, patched, deleted, and listed", func() {
|
||||
framework.ConformanceIt("should ensure that an event can be fetched, patched, deleted, and listed", func() {
|
||||
eventName := "event-test"
|
||||
|
||||
ginkgo.By("creating a test event")
|
||||
@ -160,7 +160,13 @@ var _ = common.SIGDescribe("Events API", func() {
|
||||
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: New Event resource lifecycle, testing a list of events
|
||||
Description: Create a list of events, the events MUST exist.
|
||||
The events are deleted and MUST NOT show up when listing all events.
|
||||
*/
|
||||
framework.ConformanceIt("should delete a collection of events", func() {
|
||||
eventNames := []string{"test-event-1", "test-event-2", "test-event-3"}
|
||||
|
||||
ginkgo.By("Create set of events")
|
||||
|
Loading…
Reference in New Issue
Block a user