Merge pull request #95884 from ii/promote-e2e-verify-PriorityClass-endpoints

Promote: verify PriorityClass endpoints e2e test to Conformance +5 Endpoints
This commit is contained in:
Kubernetes Prow Robot 2020-10-27 16:36:09 -07:00 committed by GitHub
commit e5c4e74994
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 16 additions and 1 deletions

View File

@ -2014,6 +2014,14 @@
number of Replicas.
release: v1.19
file: test/e2e/scheduling/preemption.go
- testname: Scheduler, Verify PriorityClass endpoints
codename: '[sig-scheduling] SchedulerPreemption [Serial] PriorityClass endpoints
verify PriorityClass endpoints can be operated with different HTTP methods [Conformance]'
description: Verify that PriorityClass endpoints can be listed. When any mutable
field is either patched or updated it MUST succeed. When any immutable field is
either patched or updated it MUST fail.
release: v1.20
file: test/e2e/scheduling/preemption.go
- testname: Scheduler, Basic Preemption
codename: '[sig-scheduling] SchedulerPreemption [Serial] validates basic preemption
works [Conformance]'

View File

@ -710,7 +710,14 @@ var _ = SIGDescribe("SchedulerPreemption [Serial]", func() {
}
})
ginkgo.It("verify PriorityClass endpoints can be operated with different HTTP methods", func() {
/*
Release: v1.20
Testname: Scheduler, Verify PriorityClass endpoints
Description: Verify that PriorityClass endpoints can be listed. When any mutable field is
either patched or updated it MUST succeed. When any immutable field is either patched or
updated it MUST fail.
*/
framework.ConformanceIt("verify PriorityClass endpoints can be operated with different HTTP methods", func() {
// 1. Patch/Update on immutable fields will fail.
pcCopy := pcs[0].DeepCopy()
pcCopy.Value = pcCopy.Value * 10