k3s/pkg/scheduler/algorithm/priorities
Kubernetes Submit Queue af9531b8a7
Merge pull request #63658 from xchapter7x/pkg-scheduler-algorithm-priorities
Automatic merge from submit-queue. 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>.

use subtest for table units (pkg-scheduler-algorithm-priorities)

**What this PR does / why we need it**: Update scheduler's unit table tests to use subtest

**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**:
breaks up PR: https://github.com/kubernetes/kubernetes/pull/63281
/ref #63267

**Release note**:

```release-note
This PR will leverage subtests on the existing table tests for the scheduler units.
Some refactoring of error/status messages and functions to align with new approach.

```
2018-05-15 14:12:39 -07:00
..
util -Remove TODO comment of GetNonzeroRequests function 2018-04-25 10:44:43 +08:00
BUILD Build files generated 2018-03-30 19:11:51 -04:00
balanced_resource_allocation.go Include volume count while doing balanced resource allocation 2018-03-30 19:11:45 -04:00
balanced_resource_allocation_test.go use subtest for table units 2018-05-10 07:12:20 -04:00
image_locality.go Build image size map upon node info updates 2018-05-08 15:02:18 -07:00
image_locality_test.go use subtest for table units 2018-05-10 07:12:20 -04:00
interpod_affinity.go Fix golint errors in `pkg/scheduler` based on golint check 2018-02-08 15:22:47 +08:00
interpod_affinity_test.go use subtest for table units 2018-05-10 07:12:20 -04:00
least_requested.go Include volume count while doing balanced resource allocation 2018-03-30 19:11:45 -04:00
least_requested_test.go use subtest for table units 2018-05-10 07:12:20 -04:00
metadata.go Fix golint errors in `pkg/scheduler` based on golint check 2018-02-08 15:22:47 +08:00
metadata_test.go use subtest for table units 2018-05-10 07:12:20 -04:00
most_requested.go Include volume count while doing balanced resource allocation 2018-03-30 19:11:45 -04:00
most_requested_test.go use subtest for table units 2018-05-10 07:12:20 -04:00
node_affinity.go Fix golint errors in `pkg/scheduler` based on golint check 2018-02-08 15:22:47 +08:00
node_affinity_test.go use subtest for table units 2018-05-10 07:12:20 -04:00
node_label.go Fix golint errors in `pkg/scheduler` based on golint check 2018-02-08 15:22:47 +08:00
node_label_test.go use subtest for table units 2018-05-10 07:12:20 -04:00
node_prefer_avoid_pods.go Fix golint errors in `pkg/scheduler` based on golint check 2018-02-08 15:22:47 +08:00
node_prefer_avoid_pods_test.go use subtest for table units 2018-05-10 07:12:20 -04:00
reduce.go
resource_allocation.go Include volume count while doing balanced resource allocation 2018-03-30 19:11:45 -04:00
resource_limits.go add SetMaxResource for Resource 2018-05-09 15:33:24 +08:00
resource_limits_test.go use subtest for table units 2018-05-10 07:12:20 -04:00
selector_spreading.go Do not consider pods being deleted in the same namespace for spreading purposes 2018-03-22 13:51:31 -04:00
selector_spreading_test.go use subtest for table units 2018-05-10 07:12:20 -04:00
taint_toleration.go
taint_toleration_test.go use subtest for table units 2018-05-10 07:12:20 -04:00
test_util.go