mirror of
https://github.com/hibiken/asynq.git
synced 2025-09-19 05:17:30 +08:00
Add methods to rdb.RDB to enqueues a task from scheduled, retry, dead
queues
This commit is contained in:
@@ -112,9 +112,6 @@ func TestEnqueue(t *testing.T) {
|
||||
t.Errorf("LIST %q has length %d, want 1", defaultQ, len(res))
|
||||
continue
|
||||
}
|
||||
if !r.client.SIsMember(allQueues, defaultQ).Val() {
|
||||
t.Errorf("SISMEMBER %q %q = false, want true", allQueues, defaultQ)
|
||||
}
|
||||
if diff := cmp.Diff(*tc.msg, *mustUnmarshal(t, res[0])); diff != "" {
|
||||
t.Errorf("persisted data differed from the original input (-want, +got)\n%s", diff)
|
||||
}
|
||||
|
Reference in New Issue
Block a user