cubicweb-worker #4785559 run_all_tasks select old tasks [open]

The run_all_tasks in testutils.py can only be runned once in a row. The second call fails with:

ValidationError: 2360 (by_transition-subject): transition task_acquire isn't allowed from task_done

A workaround is to call workutils.worker_remove_old_tasks(self.repo, -1) before the second call.

prioritynormal
typebug
done in<not specified>
closed by<not specified>