k3s/pkg/scheduler/schedulercache
Kubernetes Submit Queue d057795f3b
Merge pull request #64278 from silveryfu/master
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>.

Adding tests for ImageLocalityPriority

**What this PR does / why we need it**:

This PR adds tests for ImageLocalityPriority scheduling policy, as follow-ups of [#63842](https://github.com/kubernetes/kubernetes/issues/63842) and [#63345](https://github.com/kubernetes/kubernetes/issues/63345). It includes the unit test for ImageSizes function of NodeInfo in the scheduler cache.

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

**Special notes for your reviewer**:

@resouer 

**Release note**:

```release-note
NONE
```
2018-05-26 12:46:57 -07:00
..
BUILD Add IsUpTodate() to Cache interface. 2018-04-25 10:18:40 -07:00
cache.go Add IsUpTodate() to Cache interface. 2018-04-25 10:18:40 -07:00
cache_test.go remove unused code of (pkg/scheduler) 2018-05-18 23:48:43 +08:00
interface.go Add IsUpTodate() to Cache interface. 2018-04-25 10:18:40 -07:00
node_info.go Merge pull request #64278 from silveryfu/master 2018-05-26 12:46:57 -07:00
node_info_test.go Rename and add unit test for ImageSizes 2018-05-24 23:29:23 -07:00
util.go