Merge pull request #90390 from ii/promote-serviceaccount-resource-lifecycle-test

Promote ServiceAccount resource lifecycle test - +3 conformance coverage
This commit is contained in:
Kubernetes Prow Robot 2020-05-20 16:44:33 -07:00 committed by GitHub
commit 57b0c310b7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 18 additions and 1 deletions

View File

@ -1325,6 +1325,15 @@
Container.
release: v1.9
file: test/e2e/auth/service_accounts.go
- testname: ServiceAccount lifecycle test
codename: '[sig-auth] ServiceAccounts should run through the lifecycle of a ServiceAccount
[Conformance]'
description: Creates a ServiceAccount with a static Label MUST be added as shown
in watch event. Patching the ServiceAccount MUST return it's new property. Listing
the ServiceAccounts MUST return the test ServiceAccount with it's patched values.
ServiceAccount will be deleted and MUST find a deleted watch event.
release: v1.19
file: test/e2e/auth/service_accounts.go
- testname: Kubectl, guestbook application
codename: '[sig-cli] Kubectl client Guestbook application should create and stop
a working application [Conformance]'

View File

@ -745,7 +745,15 @@ var _ = SIGDescribe("ServiceAccounts", func() {
framework.Logf("completed pod")
})
ginkgo.It("should run through the lifecycle of a ServiceAccount", func() {
/*
Release: v1.19
Testname: ServiceAccount lifecycle test
Description: Creates a ServiceAccount with a static Label MUST be added as shown in watch event.
Patching the ServiceAccount MUST return it's new property.
Listing the ServiceAccounts MUST return the test ServiceAccount with it's patched values.
ServiceAccount will be deleted and MUST find a deleted watch event.
*/
framework.ConformanceIt("should run through the lifecycle of a ServiceAccount", func() {
testNamespaceName := f.Namespace.Name
testServiceAccountName := "testserviceaccount"
testServiceAccountStaticLabels := map[string]string{"test-serviceaccount-static": "true"}