|
|
|
@ -71,9 +71,8 @@ func TestDeletionRetryQueue_ExponentialBackoff(t *testing.T) { |
|
|
|
t.Errorf("Expected RetryCount %d, got %d", i+1, item.RetryCount) |
|
|
|
} |
|
|
|
|
|
|
|
// Remove from queue for next iteration
|
|
|
|
// Reset the heap for the next isolated test iteration
|
|
|
|
queue.lock.Lock() |
|
|
|
delete(queue.itemIndex, item.FileId) |
|
|
|
queue.heap = retryHeap{} |
|
|
|
queue.lock.Unlock() |
|
|
|
} |
|
|
|
|