mirror of
https://github.com/hibiken/asynq.git
synced 2025-09-19 13:21:58 +08:00
Close redis client after each test run
This commit is contained in:
@@ -484,6 +484,7 @@ func TestProcessorWithStrictPriority(t *testing.T) {
|
||||
t6 = NewTask(m6.Type, m6.Payload)
|
||||
t7 = NewTask(m7.Type, m7.Payload)
|
||||
)
|
||||
defer r.Close()
|
||||
|
||||
tests := []struct {
|
||||
pending map[string][]*base.TaskMessage // initial queues state
|
||||
|
Reference in New Issue
Block a user