The commits in this PR can be reviewed one by one, just beware that the tests for 3c8b0959ad97900dacc12eaa3cb290e1f4b51311 are in fact in ff9832170c80bc788b632221bfe74333c8856a1c.
If reviewer desires, I can adjust the order of the commits.
Perhaps a log statement would be more appropriate here.
What if commitid is not assigned due to a KeyError? Doesn't the rest of the code assumes it is set?
commitid
it's not even needed, let me just remove this
from my tests, you're right we should raise an exception here
2 new commits added
Is there no programmatic way to determine if the worker completed the task?
There would be if we knew the task id but we don't here :(
Okay, in the setUp function, could you have a while loop that sleeps until the conditions you expect after the worker is done are present? If there is a particular thing you are waiting for, you could check if that is present before continuing on to the tests.
setUp
The sleep statement just seems fragile and if other systems that run these tests are slower than yours, I'm worried about tests failing and the developer not knowing why.
1 new commit added
8 new commits added
+1 from me
9 new commits added
Thanks for your review! :)
Pull-Request has been merged by pingou
The commits in this PR can be reviewed one by one, just beware that
the tests for 3c8b0959ad97900dacc12eaa3cb290e1f4b51311 are in fact
in ff9832170c80bc788b632221bfe74333c8856a1c.
If reviewer desires, I can adjust the order of the commits.