mirror of
https://github.com/hibiken/asynq.git
synced 2025-09-19 13:21:58 +08:00
Add Group field to TaskInfo struct
This commit is contained in:
@@ -503,6 +503,7 @@ func TestClientEnqueueWithGroupOption(t *testing.T) {
|
||||
},
|
||||
wantInfo: &TaskInfo{
|
||||
Queue: "default",
|
||||
Group: "mygroup",
|
||||
Type: task.Type(),
|
||||
Payload: task.Payload(),
|
||||
State: TaskStateAggregating,
|
||||
@@ -548,6 +549,7 @@ func TestClientEnqueueWithGroupOption(t *testing.T) {
|
||||
},
|
||||
wantInfo: &TaskInfo{
|
||||
Queue: "default",
|
||||
Group: "mygroup",
|
||||
Type: task.Type(),
|
||||
Payload: task.Payload(),
|
||||
State: TaskStateScheduled,
|
||||
|
Reference in New Issue
Block a user