• Kubernetes Submit Queue's avatar
    Merge pull request #63459 from resouer/fix-63427 · 0a2467d8
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue (batch tested with PRs 63598, 63913, 63459, 63963, 60464). 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>.
    
    Check nodeInfo before ecache predicate
    
    **What this PR does / why we need it**:
    
    There's chances during test when nodeInfo is nil which may cause ecache predicate fail with nil pointer.
    
    **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 #63427
    
    **Special notes for your reviewer**:
    
    Not sure how to reproduce the original issue yet. i.e. why and when `nodeInfo` will become nil in tests is not clear to me, that's why I label it as WIP.
    
    cc @bsalamat who may have more inputs.
    
    **Release note**:
    
    ```release-note
    NONE
    ```
    0a2467d8
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...
volumebinder 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...