2
0
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:
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, 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",