• Kubernetes Submit Queue's avatar
    Merge pull request #48337 from sakeven/fix/validation_test · 093dd52d
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue
    
    scheduler: fix validation test
    Signed-off-by: 's avatarsakeven <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
    ```
    093dd52d
Name
Last commit
Last update
..
algorithm Loading commit data...
algorithmprovider Loading commit data...
api Loading commit data...
core Loading commit data...
factory Loading commit data...
metrics Loading commit data...
schedulercache Loading commit data...
testing Loading commit data...
util Loading commit data...
BUILD Loading commit data...
OWNERS Loading commit data...
scheduler.go Loading commit data...
scheduler_test.go Loading commit data...
testutil.go Loading commit data...