2
0
mirror of https://github.com/hibiken/asynq.git synced 2024-12-24 23:02:18 +08:00

fix: possible inconsistent scores between ProcessIn and ProcessAt (#876)

This commit is contained in:
kanzihuang 2024-10-19 14:45:18 +08:00 committed by GitHub
parent b1e13893ff
commit ff7ef48463
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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