diff options
author | Valery Piashchynski <[email protected]> | 2021-07-08 09:09:16 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2021-07-08 09:09:16 +0300 |
commit | c7becb2fc51fc09523f6640eb72f360a6b4681f5 (patch) | |
tree | 9c83720a767db135582b0da9a68e49f3db591725 /pkg | |
parent | bb7b6a4d1821b36804f5d5756144ae42ad92b13e (diff) |
Unlock binary heaps max length in the consume-rate test
Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to 'pkg')
-rw-r--r-- | pkg/priorityqueue/binary_heap_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/priorityqueue/binary_heap_test.go b/pkg/priorityqueue/binary_heap_test.go index dadc3a39..125884b1 100644 --- a/pkg/priorityqueue/binary_heap_test.go +++ b/pkg/priorityqueue/binary_heap_test.go @@ -59,7 +59,7 @@ func TestNewPriorityQueue(t *testing.T) { insertsPerSec := uint64(0) getPerSec := uint64(0) stopCh := make(chan struct{}, 1) - pq := NewBinHeap(100) + pq := NewBinHeap(10000000) go func() { tt := time.NewTicker(time.Second) |