summaryrefslogtreecommitdiff
path: root/pkg/priority_queue/pq_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/priority_queue/pq_test.go')
-rw-r--r--pkg/priority_queue/pq_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/priority_queue/pq_test.go b/pkg/priority_queue/pq_test.go
index cdec10f5..49afe5e3 100644
--- a/pkg/priority_queue/pq_test.go
+++ b/pkg/priority_queue/pq_test.go
@@ -37,7 +37,7 @@ func TestNewPriorityQueue(t *testing.T) {
case <-stopCh:
return
default:
- it := pq.Get()
+ it := pq.GetMax()
if it == nil {
continue
}