Add a separate lock for pod nominator in scheduling queue
This commit is contained in:
@@ -2356,7 +2356,7 @@ func TestFilterPluginsWithNominatedPods(t *testing.T) {
|
||||
)
|
||||
}
|
||||
|
||||
podNominator := internalqueue.NewPodNominator(nil)
|
||||
podNominator := internalqueue.NewTestPodNominator(nil)
|
||||
if tt.nominatedPod != nil {
|
||||
podNominator.AddNominatedPod(
|
||||
logger,
|
||||
|
||||
Reference in New Issue
Block a user