boxine / django-huey-monitor

Django based tool for monitoring huey task queue: https://github.com/coleifer/huey
GNU General Public License v3.0
86 stars 20 forks source link

#91 update parent_task.update_dt on subtask signal #99

Open Skrattoune opened 2 years ago

Skrattoune commented 2 years ago

cf #91: update update_dt of the parent task when a signal is received from a sub-task

Skrattoune commented 2 years ago

The reason why we should have this test to fail is unclear to me. It seems it is linked to the failing test ... which is not failing anymore !?!

Skrattoune commented 2 years ago

2 errors: image

process is slower than expected Not sure why it should be tested? but maybe I misunderstood

image

the 3 sub-tasks seem to be stil executing

Skrattoune commented 2 years ago

Need your input @jedie

jedie commented 2 years ago

2 errors: image

This is because you add another timezone.now() in the code: Every call of this will increment the mocked datetime and the calculated values changed. You just have to update the calculated values in the test.

image

the 3 sub-tasks seem to be stil executing

Hm. I don't know and have to investigate this.