Skip to content

Commit 05182ef

Browse files
Merge pull request #2528 from maxcao13/hpa-timeout
NO-JIRA: Extend HPA test timeout
2 parents 0987ea1 + c939878 commit 05182ef

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import (
55
"fmt"
66
"os"
77
"reflect"
8+
"time"
89

910
"k8s.io/kubernetes/test/e2e/framework"
1011

@@ -84,10 +85,12 @@ func main() {
8485
Qualifiers: []string{withExcludedTestsFilter(`(name.contains('[Serial]') || labels.exists(l, l == '[Serial]'))`)},
8586
})
8687

88+
hpaTestTimeout := time.Minute * 30
8789
kubeTestsExtension.AddSuite(e.Suite{
8890
Name: "kubernetes/autoscaling/hpa",
8991
Qualifiers: []string{"name.contains('[Feature:HPA]')"}, // Note that this does not use withExcludedTestsFilter to be able to run DedicatedJob labelled tests.
9092
Parallelism: 3, // HPA tests have high CPU + memory usage, so we cannot have a high level of parallelism here.
93+
TestTimeout: &hpaTestTimeout,
9194
})
9295

9396
for k, v := range image.GetOriginalImageConfigs() {

0 commit comments

Comments
 (0)