Merge pull request #70233 from jbartosik/e2e-deflake

Change back HPA e2e tests to request 500 mCPU
This commit is contained in:
k8s-ci-robot 2018-10-25 08:24:56 -07:00 committed by GitHub
commit 2dc511a4ec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -137,14 +137,14 @@ func scaleUp(name string, kind schema.GroupVersionKind, checkStability bool, rc
} }
scaleTest := &HPAScaleTest{ scaleTest := &HPAScaleTest{
initPods: 1, initPods: 1,
totalInitialCPUUsage: 500, totalInitialCPUUsage: 250,
perPodCPURequest: 1000, perPodCPURequest: 500,
targetCPUUtilizationPercent: 20, targetCPUUtilizationPercent: 20,
minPods: 1, minPods: 1,
maxPods: 5, maxPods: 5,
firstScale: 3, firstScale: 3,
firstScaleStasis: stasis, firstScaleStasis: stasis,
cpuBurst: 1400, cpuBurst: 700,
secondScale: 5, secondScale: 5,
} }
scaleTest.run(name, kind, rc, f) scaleTest.run(name, kind, rc, f)
@ -157,8 +157,8 @@ func scaleDown(name string, kind schema.GroupVersionKind, checkStability bool, r
} }
scaleTest := &HPAScaleTest{ scaleTest := &HPAScaleTest{
initPods: 5, initPods: 5,
totalInitialCPUUsage: 650, totalInitialCPUUsage: 325,
perPodCPURequest: 1000, perPodCPURequest: 500,
targetCPUUtilizationPercent: 30, targetCPUUtilizationPercent: 30,
minPods: 1, minPods: 1,
maxPods: 5, maxPods: 5,