Skip to content
  • Philippe Pepiot's avatar
    Use frozen task id in run_all_tasks() · 09962b2ccb79
    Philippe Pepiot authored
    This code is only used in tests where we check for existence of task_id in database.
    Before running the Task, there is no guarantees that the value of Task.id will
    be used as task_id, this is the purpose of freeze().
    In this particular case Task.id = Task.freeze().id for celery 3.1.25, but this
    is no longer true in celery 4.
    09962b2ccb79