mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-26 05:03:09 +00:00
re-named conformance test name for pod creating with CPU and memory resources
This commit is contained in:
parent
5ae55b992b
commit
40146c85f4
2
test/conformance/testdata/conformance.txt
vendored
2
test/conformance/testdata/conformance.txt
vendored
@ -207,7 +207,7 @@ test/e2e/network/service.go: "should serve multiport endpoints from pods"
|
|||||||
test/e2e/network/service_latency.go: "should not be very high"
|
test/e2e/network/service_latency.go: "should not be very high"
|
||||||
test/e2e/node/events.go: "should be sent by kubelets and the scheduler about pods scheduling and running"
|
test/e2e/node/events.go: "should be sent by kubelets and the scheduler about pods scheduling and running"
|
||||||
test/e2e/node/pods.go: "should be submitted and removed"
|
test/e2e/node/pods.go: "should be submitted and removed"
|
||||||
test/e2e/node/pods.go: "should be submitted and removed"
|
test/e2e/node/pods.go: "should be set on Pods with matching resource requests and limits for memory and cpu"
|
||||||
test/e2e/node/pre_stop.go: "should call prestop when killing a pod"
|
test/e2e/node/pre_stop.go: "should call prestop when killing a pod"
|
||||||
test/e2e/scheduling/predicates.go: "validates resource limits of pods that are allowed to run"
|
test/e2e/scheduling/predicates.go: "validates resource limits of pods that are allowed to run"
|
||||||
test/e2e/scheduling/predicates.go: "validates that NodeSelector is respected if not matching"
|
test/e2e/scheduling/predicates.go: "validates that NodeSelector is respected if not matching"
|
||||||
|
@ -25,7 +25,7 @@ import (
|
|||||||
"strconv"
|
"strconv"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
v1 "k8s.io/api/core/v1"
|
"k8s.io/api/core/v1"
|
||||||
"k8s.io/apimachinery/pkg/api/resource"
|
"k8s.io/apimachinery/pkg/api/resource"
|
||||||
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||||
"k8s.io/apimachinery/pkg/labels"
|
"k8s.io/apimachinery/pkg/labels"
|
||||||
@ -179,12 +179,13 @@ var _ = SIGDescribe("Pods Extended", func() {
|
|||||||
ginkgo.BeforeEach(func() {
|
ginkgo.BeforeEach(func() {
|
||||||
podClient = f.PodClient()
|
podClient = f.PodClient()
|
||||||
})
|
})
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Release : v1.9
|
Release : v1.9
|
||||||
Testname: Pods, QOS
|
Testname: Pods, QOS
|
||||||
Description: Create a Pod with CPU and Memory request and limits. Pos status MUST have QOSClass set to PodQOSGuaranteed.
|
Description: Create a Pod with CPU and Memory request and limits. Pod status MUST have QOSClass set to PodQOSGuaranteed.
|
||||||
*/
|
*/
|
||||||
framework.ConformanceIt("should be submitted and removed ", func() {
|
framework.ConformanceIt("should be set on Pods with matching resource requests and limits for memory and cpu", func() {
|
||||||
ginkgo.By("creating the pod")
|
ginkgo.By("creating the pod")
|
||||||
name := "pod-qos-class-" + string(uuid.NewUUID())
|
name := "pod-qos-class-" + string(uuid.NewUUID())
|
||||||
pod := &v1.Pod{
|
pod := &v1.Pod{
|
||||||
|
Loading…
Reference in New Issue
Block a user