mirror of
https://github.com/hibiken/asynq.git
synced 2024-12-25 23:32:17 +08:00
fix: possible inconsistent scores between ProcessIn and ProcessAt (#876)
This commit is contained in:
parent
b1e13893ff
commit
ff7ef48463
@ -556,11 +556,11 @@ func TestClientEnqueueWithGroupOption(t *testing.T) {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
desc: "With Group and ProcessIn options",
|
desc: "With Group and ProcessAt options",
|
||||||
task: task,
|
task: task,
|
||||||
opts: []Option{
|
opts: []Option{
|
||||||
Group("mygroup"),
|
Group("mygroup"),
|
||||||
ProcessIn(30 * time.Minute),
|
ProcessAt(now.Add(30 * time.Minute)),
|
||||||
},
|
},
|
||||||
wantInfo: &TaskInfo{
|
wantInfo: &TaskInfo{
|
||||||
Queue: "default",
|
Queue: "default",
|
||||||
|
Loading…
Reference in New Issue
Block a user