mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-07-17 11:28:58 +00:00
Merge pull request #137940 from adrianmoisey/adrian-fix-hpa-flake
Set WithSerial on HPA tests that conflict api registration
This commit is contained in:
@@ -33,7 +33,8 @@ import (
|
||||
admissionapi "k8s.io/pod-security-admission/api"
|
||||
)
|
||||
|
||||
var _ = SIGDescribe(feature.HPA, "Horizontal pod autoscaling (external metrics)", func() {
|
||||
// Requires WithSerial as test sets up external metrics server
|
||||
var _ = SIGDescribe(feature.HPA, "Horizontal pod autoscaling (external metrics)", framework.WithSerial(), func() {
|
||||
var (
|
||||
rc *e2eautoscaling.ResourceConsumer
|
||||
metricsController *e2eautoscaling.ExternalMetricsController
|
||||
@@ -89,7 +90,8 @@ var _ = SIGDescribe(feature.HPA, "Horizontal pod autoscaling (external metrics)"
|
||||
})
|
||||
})
|
||||
|
||||
var _ = SIGDescribe(feature.HPA, framework.WithFeatureGate(features.HPAScaleToZero),
|
||||
// Requires WithSerial as test sets up external metrics server
|
||||
var _ = SIGDescribe(feature.HPA, framework.WithFeatureGate(features.HPAScaleToZero), framework.WithSerial(),
|
||||
"Horizontal pod autoscaling (scale to zero)", func() {
|
||||
var (
|
||||
rc *e2eautoscaling.ResourceConsumer
|
||||
|
||||
Reference in New Issue
Block a user