Files
kubernetes/plugin/pkg/scheduler
Kubernetes Submit Queue 093dd52db2 Merge pull request #48337 from sakeven/fix/validation_test
Automatic merge from submit-queue

scheduler: fix validation test

Signed-off-by: sakeven <jc5930@sina.cn>



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

Without setting `Weight`, `ValidatePolicy` will report
```
Priority for extender http://127.0.0.1:8081/extender should have a positive weight applied to it
```

**Besides**, it seems it's not a good way to test ValidatePolicy by```if ValidatePolicy(extenderPolicy) == nil```, because we can't determine specific reason which causes error.

**Special notes for your reviewer**:

**Release note**:

```
NONE
```
2017-07-07 22:38:28 -07:00
..
2017-06-22 11:31:03 -07:00
2017-07-05 14:36:53 +08:00
2017-06-22 11:31:03 -07:00
2017-04-14 10:40:57 -07:00
2017-06-22 11:31:03 -07:00
2017-06-22 11:31:03 -07:00
2017-06-22 11:31:03 -07:00
2017-05-26 22:26:20 +08:00
2017-06-22 11:31:03 -07:00
2017-06-22 11:31:03 -07:00