Re: [DISCUSS] Revenge of the asserts

2019-12-12 Thread Daniel Huang
Big yes to asserts in pytest! On Tue, Dec 10, 2019 at 12:50 AM Michał Słowikowski < michal.slowikow...@polidea.com> wrote: > I like this idea, and such assertion looks very promising. > > assert "maximum recursion" in str(excinfo.value) > > Have a nice day! > > > On Mon, Dec 9, 2019 at 6:16 PM To

Re: 'Task Instance State' FAILED: Task is in the 'running' state which is not a valid state for execution. The task must be cleared in order to be run.

2019-02-13 Thread Daniel Huang
We've been plagued by this as well and it prevents us from setting stricter retry limits. Similar setup, but using MySQL. Also seeing it more for long running tasks (sensors). -Daniel On Wed, Feb 13, 2019 at 1:48 PM James Meickle wrote: > In some cases this is a double execute in Celery. Two wo