Uh oh!
There was an error while loading. Please reload this page.
bot: replaced retry function with Tenacity - #366
Conversation
… Removed import of retry utility.
…on. Removed retry runction from utils.py
Merge with update from master with Mozilla.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
marco-c
commented
Jan 7, 2020
There are some linting failures (I suggest using pre-commit for that), and some test failures (you can run tests by doing |
Uh oh!
There was an error while loading. Please reload this page.
marco-c
commented
Jan 9, 2020
@seb-sojka do you still want to work on this? |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
…d utils.py and taskcluster.py because pre-commit run
…try of perform_download
Hello, |
Uh oh!
There was an error while loading. Please reload this page.
marco-c
commented
Jan 11, 2020
Probably tenacity is not using time.sleep. You can change the test to stop mocking it, and instead count the number of times the responses URL is hit (see https://github.com/getsentry/responses, something like |
…s.py. Updated test_taskcluster.py to check on number of times a function is called
seb-sojka
commented
Jan 15, 2020
The error with linit and taskcluster_yml. I am unsure what the solution for this. I do not have this error locally when I run the pre-commit. |
Uh oh!
There was an error while loading. Please reload this page.
marco-c
commented
Jan 28, 2020
Looks good, just one last thing to fix! |
marco-c
commented
Jan 28, 2020
If you want, here are some similar issues in this and other repos: |
Remove retry function and related RunException from utils.py for bot and replaces it with Tenacity retry in taskcluster.py and uploader.py
Fixes#110