summaryrefslogtreecommitdiff
path: root/pkg/priority_queue/binary_heap_test.go
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2021-07-14 11:35:12 +0300
committerValery Piashchynski <[email protected]>2021-07-14 11:35:12 +0300
commitd099e47ab28dd044d34e18347a4c714b8af3d612 (patch)
treee106e13bba48e435b87d218237b282d7f691b52c /pkg/priority_queue/binary_heap_test.go
parentec7c049036d31fe030d106db9f0d268ea0296c5f (diff)
SQS driver.
Fix isssues in the AMQP driver. Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to 'pkg/priority_queue/binary_heap_test.go')
-rw-r--r--pkg/priority_queue/binary_heap_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/priority_queue/binary_heap_test.go b/pkg/priority_queue/binary_heap_test.go
index f30cf8d8..663741ad 100644
--- a/pkg/priority_queue/binary_heap_test.go
+++ b/pkg/priority_queue/binary_heap_test.go
@@ -32,8 +32,8 @@ func (t Test) ID() string {
return "none"
}
-func (t Test) Priority() uint64 {
- return uint64(t)
+func (t Test) Priority() int64 {
+ return int64(t)
}
func TestBinHeap_Init(t *testing.T) {