Commit 86764ba4 authored by Jerzy Szczepkowski's avatar Jerzy Szczepkowski

Changed constans to reduce hpa e2e test flakiness.

Changed constans to reduce hpa e2e test flakiness.
parent 3c822c0b
......@@ -272,7 +272,7 @@ func (rc *ResourceConsumer) GetReplicas() int {
}
func (rc *ResourceConsumer) WaitForReplicas(desiredReplicas int) {
timeout := 10 * time.Minute
timeout := 15 * time.Minute
for start := time.Now(); time.Since(start) < timeout; time.Sleep(20 * time.Second) {
if desiredReplicas == rc.GetReplicas() {
framework.Logf("%s: current replicas number is equal to desired replicas number: %d", rc.kind, desiredReplicas)
......
......@@ -169,7 +169,7 @@ func scaleDown(name, kind string, checkStability bool, rc *ResourceConsumer, f *
maxPods: 5,
firstScale: 3,
firstScaleStasis: stasis,
cpuBurst: 100,
cpuBurst: 10,
secondScale: 1,
}
scaleTest.run(name, kind, rc, f)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment