mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-22 11:21:47 +00:00
Merge pull request #27423 from jszczepkowski/master
Changed constans to reduce hpa e2e test flakiness.
This commit is contained in:
commit
3d09b99d2c
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user