mirror of https://github.com/k3s-io/k3s
Classify all HPA tests as [Feature:Autoscaling]
parent
d002a68f3c
commit
a51f291b91
|
@ -31,14 +31,14 @@ const (
|
|||
subresource = "scale"
|
||||
)
|
||||
|
||||
var _ = Describe("Horizontal pod autoscaling (scale resource: CPU) [Skipped]", func() {
|
||||
var _ = Describe("Horizontal pod autoscaling (scale resource: CPU) [Feature:Autoscaling]", func() {
|
||||
var rc *ResourceConsumer
|
||||
f := NewFramework("horizontal-pod-autoscaling")
|
||||
|
||||
titleUp := "Should scale from 1 pod to 3 pods and from 3 to 5"
|
||||
titleDown := "Should scale from 5 pods to 3 pods and from 3 to 1"
|
||||
|
||||
Describe("Deployment [Feature:Deployment]", func() {
|
||||
Describe("Deployment", func() {
|
||||
// CPU tests via deployments
|
||||
It(titleUp, func() {
|
||||
scaleUp("deployment", kindDeployment, rc, f)
|
||||
|
@ -48,7 +48,7 @@ var _ = Describe("Horizontal pod autoscaling (scale resource: CPU) [Skipped]", f
|
|||
})
|
||||
})
|
||||
|
||||
Describe("ReplicationController [Feature:Autoscaling]", func() {
|
||||
Describe("ReplicationController", func() {
|
||||
// CPU tests via replication controllers
|
||||
It(titleUp, func() {
|
||||
scaleUp("rc", kindRC, rc, f)
|
||||
|
|
Loading…
Reference in New Issue