Promote verify PriorityClass endpoints e2e test to Conformance

This commit is contained in:
Stephen Heywood 2020-10-27 12:36:28 +13:00
parent d0e06cf3e0
commit 017de540eb
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