-
Notifications
You must be signed in to change notification settings - Fork 205
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
worker: Do not remove timer after delay and extend unit tests #4116
Conversation
I don't know what this Build Error is, it's the first time I'm seeing it, so but for the record:
|
When I created this PR it only worked on the 3rd attempt. According to GitHub's status page there were inded several problems. So that's likely related. I'll try to retrigger. |
96fd84b
to
fa8f19f
Compare
This time ci/cacheci: cache failed:
|
Because 9.20 is now in Factory. I suppose we need to trigger the dependency update. |
Ack, I just saw there is #4117, I wasn't expecting that update and thought it was another circleci breakage :-D |
I've only triggered the job to create #4117 after your last comment :-) |
This should not be necessary since the timer has already been fired at this point and the timer is non-recurring. Possibly it is even a bad idea to remove a timer which has already been fired. Maybe this helps with https://progress.opensuse.org/issues/96710
I've wrote this test when checking the worker code for https://progress.opensuse.org/issues/96710.
fa8f19f
to
e4da6e1
Compare
Codecov Report
@@ Coverage Diff @@
## master #4116 +/- ##
=======================================
Coverage 97.79% 97.79%
=======================================
Files 371 371
Lines 33145 33160 +15
=======================================
+ Hits 32415 32430 +15
Misses 730 730
Continue to review full report at Codecov.
|
A few changes I came up with when investigating https://progress.opensuse.org/issues/96710. See particular commit messages for details.