Add test to verify preempt ignore

This commit is contained in:
Harry Zhang
2018-03-30 14:01:09 -07:00
parent 7f04129736
commit 083684d771
3 changed files with 46 additions and 11 deletions

View File

@@ -282,6 +282,7 @@ func (g *genericScheduler) processPreemptionWithExtenders(
}
return nil, err
}
// Replace nodeToVictims with new result after preemption. So the
// rest of extenders can continue use it as parameter.
nodeToVictims = newNodeToVictims