Skip to content

Commit 066ae57

Browse files
committed
UPSTREAM: <carry>: re-enable HPA tests in OTE suite
Signed-off-by: Max Cao <[email protected]>
1 parent 96593f3 commit 066ae57

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

openshift-hack/cmd/k8s-tests-ext/disabled_tests.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -163,9 +163,6 @@ func filterOutDisabledSpecs(specs et.ExtensionTestSpecs) et.ExtensionTestSpecs {
163163

164164
// https://issues.redhat.com/browse/OCPBUGS-45275
165165
"[sig-network] Connectivity Pod Lifecycle should be able to connect to other Pod from a terminating Pod",
166-
167-
// https://issues.redhat.com/browse/OCPBUGS-61376
168-
"[sig-autoscaling] [Feature:HPA] Horizontal pod autoscaling",
169166
},
170167
// tests that need to be temporarily disabled while the rebase is in progress.
171168
"RebaseInProgress": {

openshift-hack/cmd/k8s-tests-ext/k8s-tests.go

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,12 @@ func main() {
8888
Qualifiers: []string{withExcludedTestsFilter(`name.contains('[Serial]')`)},
8989
})
9090

91+
// Run HPA specific tests which are designed to be run in parallel
92+
kubeTestsExtension.AddSuite(e.Suite{
93+
Name: "kubernetes/autoscaling/hpa",
94+
Qualifiers: []string{`name.contains("[Feature:HPA]")`},
95+
})
96+
9197
for k, v := range image.GetOriginalImageConfigs() {
9298
image := convertToImage(v)
9399
image.Index = int(k)
@@ -188,6 +194,7 @@ func withExcludedTestsFilter(baseExpr string) string {
188194
"[Slow]",
189195
"[Flaky]",
190196
"[Local]",
197+
"[Feature:HPA]", // HPA tests are run in parallel in their own separate OTE suite
191198
}
192199

193200
filter := ""

openshift-hack/cmd/k8s-tests-ext/labels.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@ func addLabelsToSpecs(specs et.ExtensionTestSpecs) {
1717

1818
"Should be able to support the 1.7 Sample API Server using the current Aggregator", // down apiservices break other clients today https://bugzilla.redhat.com/show_bug.cgi?id=1623195
1919

20-
"[Feature:HPA] Horizontal pod autoscaling (scale resource: CPU) [sig-autoscaling] ReplicationController light Should scale from 1 pod to 2 pods",
21-
2220
"should prevent Ingress creation if more than 1 IngressClass marked as default", // https://bugzilla.redhat.com/show_bug.cgi?id=1822286
2321

2422
"[sig-network] IngressClass [Feature:Ingress] should set default value on new IngressClass", //https://bugzilla.redhat.com/show_bug.cgi?id=1833583

0 commit comments

Comments
 (0)