Add Group field to TaskInfo struct

This commit is contained in:
Ken Hibino
2022-03-16 20:22:07 -07:00
parent 01eeb8756e
commit 45ed560708
2 changed files with 11 additions and 0 deletions

View File

@@ -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,