mirror of
https://github.com/hibiken/asynq.git
synced 2024-12-25 07:12: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,
|
||||
opts: []Option{
|
||||
Group("mygroup"),
|
||||
ProcessIn(30 * time.Minute),
|
||||
ProcessAt(now.Add(30 * time.Minute)),
|
||||
},
|
||||
wantInfo: &TaskInfo{
|
||||
Queue: "default",
|
||||
|
Loading…
Reference in New Issue
Block a user