susamn / rio

A lightweight job scheduler based on priority queue with timeout, retry, replica, context cancellation and easy semantics for job chaining. Build for golang web apps.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Write proper test case for the pool

susamn opened this issue · comments

We have to write proper test case for the pool.go file. It's a priority queue based on the heap interface. The existing pool_test.go file does not have enough test case to test it on load.