kubernetes/pkg/controller/podautoscaler
Kubernetes Submit Queue ab00c609ee
Merge pull request #65901 from jbartosik/hpa-improv-refactor-replica-calc-test
Automatic merge from submit-queue (batch tested with PRs 66175, 66324, 65828, 65901, 66350). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

Hpa improv refactor replica calc test

**What this PR does / why we need it**: prepareTestClient generates 4 fake clients, using replicaCalcTestCase object. This PR extracts a separate helper for generating each fake independently.

**Which issue(s) this PR fixes**

**Special notes for your reviewer**:

**Release note**:
```release-note
NONE
```
2018-07-18 16:42:18 -07:00
..
metrics Update external k8s.io/metrics imports 2018-07-02 10:44:18 +02:00
BUILD Update external k8s.io/metrics imports 2018-07-02 10:44:18 +02:00
doc.go Use Go canonical import paths 2016-07-16 13:48:21 -04:00
horizontal_test.go Update external k8s.io/metrics imports 2018-07-02 10:44:18 +02:00
horizontal.go Chop computeReplicasForMetrics to smaller pieces 2018-07-18 17:09:20 +02:00
legacy_horizontal_test.go Fixing wrong unit test naming 2018-05-19 08:09:39 +08:00
legacy_replica_calculator_test.go Fixing wrong unit test naming 2018-05-19 08:09:39 +08:00
OWNERS Add approvers to owners file for hpa 2017-07-18 13:23:43 +02:00
rate_limitters.go Fix golint errors in pkg/controller/podautoscaler 2017-09-09 14:53:34 -04:00
replica_calculator_test.go Extract helpers from prepareTestClient 2018-07-18 17:02:30 +02:00
replica_calculator.go GetExternalMetricReplicas ignores unready pods 2018-03-13 22:27:28 -04:00