mirror of
https://github.com/optim-enterprises-bv/kubernetes.git
synced 2025-11-08 06:15:45 +00:00
Make update and delete active queue methods
This commit is contained in:
@@ -1104,7 +1104,7 @@ func TestPriorityQueue_Update(t *testing.T) {
|
||||
pInfo = pInfoFromBackoff
|
||||
}
|
||||
|
||||
q.activeQ.underRLock(func(unlockedActiveQ unlockedActiveQueuer) {
|
||||
q.activeQ.underRLock(func(unlockedActiveQ unlockedActiveQueueReader) {
|
||||
if pInfoFromActive, exists := unlockedActiveQ.Get(newQueuedPodInfoForLookup(newPod)); exists {
|
||||
if tt.wantQ != activeQ {
|
||||
t.Errorf("expected pod %s not to be queued to activeQ, but it was", newPod.Name)
|
||||
|
||||
Reference in New Issue
Block a user