Skip to content

Commit f6bc6f6

Browse files
committed
tests(hpa): re-enable HPA tests in OTE suite
Signed-off-by: Max Cao <[email protected]>
1 parent 96593f3 commit f6bc6f6

File tree

3 files changed

+10
-5
lines changed

3 files changed

+10
-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: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,15 @@ 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+
Parents: []string{
95+
"openshift/conformance/parallel",
96+
},
97+
Qualifiers: []string{`name.contains("[Feature:HPA]")`},
98+
})
99+
91100
for k, v := range image.GetOriginalImageConfigs() {
92101
image := convertToImage(v)
93102
image.Index = int(k)
@@ -188,6 +197,7 @@ func withExcludedTestsFilter(baseExpr string) string {
188197
"[Slow]",
189198
"[Flaky]",
190199
"[Local]",
200+
"[Feature:HPA]", // HPA tests are run in parallel in it's own separate suite
191201
}
192202

193203
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)