Merge pull request #89753 from ii/promote-event-resource-lifecycle-test

Promote Event resource lifecycle test  +5 test endpoint coverage
This commit is contained in:
Kubernetes Prow Robot 2020-04-23 03:57:45 -07:00 committed by GitHub
commit c12aeb2b77
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 16 additions and 1 deletions

View File

@ -804,6 +804,14 @@
definitions MUST be published for custom resource definitions.
release: v1.16
file: test/e2e/apimachinery/crd_publish_openapi.go
- testname: Event resource lifecycle
codename: '[sig-api-machinery] Events 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 message, the check MUST have the update message. The event is deleted and
MUST NOT show up when listing all events.
release: v1.19
file: test/e2e/framework/events/events.go
- testname: Garbage Collector, delete deployment, propagation policy background
codename: '[sig-api-machinery] Garbage collector should delete RS created by deployment
when not orphaning [Conformance]'

View File

@ -39,7 +39,14 @@ type Action func() error
var _ = ginkgo.Describe("[sig-api-machinery] Events", func() {
f := framework.NewDefaultFramework("events")
ginkgo.It("should ensure that an event can be fetched, patched, deleted, and listed", func() {
/*
Release : v1.19
Testname: Event resource lifecycle
Description: Create an event, the event MUST exist.
The event is patched with a new message, the check MUST have the update message.
The event is deleted and MUST NOT show up when listing all events.
*/
framework.ConformanceIt("should ensure that an event can be fetched, patched, deleted, and listed", func() {
eventTestName := "event-test"
ginkgo.By("creating a test event")