Skip to content

Commit 993770e

Browse files
committed
Add requeue automatically of previous enqueued jobs
1 parent bb03036 commit 993770e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

queue_job/tests/test_requeue_dead_job.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ def test_requeue_dead_jobs_started_before_patch(self):
144144
job_obj.set_started()
145145
# Delete the job lock to simulate job started before new implementation
146146
self.env.cr.execute(
147-
"DELETE FROM queue_job_lock WHERE job_id=%s", (queue_job.id,)
147+
"DELETE FROM queue_job_lock WHERE queue_job_id=%s", (queue_job.id,)
148148
)
149149

150150
job_obj.store()

0 commit comments

Comments
 (0)