From ff7ef48463f5b508e917502600bbdcdaf7ff6f1d Mon Sep 17 00:00:00 2001 From: kanzihuang Date: Sat, 19 Oct 2024 14:45:18 +0800 Subject: [PATCH] fix: possible inconsistent scores between ProcessIn and ProcessAt (#876) --- client_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client_test.go b/client_test.go index a73114a..80a5517 100644 --- a/client_test.go +++ b/client_test.go @@ -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",