mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-22 19:31:44 +00:00
Promote verify PriorityClass endpoints e2e test to Conformance
This commit is contained in:
parent
d0e06cf3e0
commit
017de540eb
8
test/conformance/testdata/conformance.yaml
vendored
8
test/conformance/testdata/conformance.yaml
vendored
@ -2014,6 +2014,14 @@
|
|||||||
number of Replicas.
|
number of Replicas.
|
||||||
release: v1.19
|
release: v1.19
|
||||||
file: test/e2e/scheduling/preemption.go
|
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
|
- testname: Scheduler, Basic Preemption
|
||||||
codename: '[sig-scheduling] SchedulerPreemption [Serial] validates basic preemption
|
codename: '[sig-scheduling] SchedulerPreemption [Serial] validates basic preemption
|
||||||
works [Conformance]'
|
works [Conformance]'
|
||||||
|
@ -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.
|
// 1. Patch/Update on immutable fields will fail.
|
||||||
pcCopy := pcs[0].DeepCopy()
|
pcCopy := pcs[0].DeepCopy()
|
||||||
pcCopy.Value = pcCopy.Value * 10
|
pcCopy.Value = pcCopy.Value * 10
|
||||||
|
Loading…
Reference in New Issue
Block a user