kubernetes/pkg/controller/podautoscaler
Kubernetes Submit Queue 1e3d23c5c3
Merge pull request #65907 from jbartosik/hpa-improv-refactor-run-test
Automatic merge from submit-queue (batch tested with PRs 64681, 65907). 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>.

Make runTest easier to understand

Fewer nested conditions, more checking for incorrect looking test cases.

**What this PR does / why we need it**: Make HPA tests easier to understand.

**Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:

**Special notes for your reviewer**:

**Release note**:
```release-note
NONE
```
2018-07-24 16:28:13 -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 Merge pull request #65907 from jbartosik/hpa-improv-refactor-run-test 2018-07-24 16:28:13 -07:00
replica_calculator.go GetExternalMetricReplicas ignores unready pods 2018-03-13 22:27:28 -04:00