tenacity
tenacity copied to clipboard
Respects `min` argument for `wait_random_exponential`
Summary
Respects min argument for wait_random_exponential
- currently,
minargument only affects computing thehighrange of the uniform sampling mindoes not affect thelowrange of the uniform sampling, hence the sampled wait may be lower thanminspecified- This PR fixes the issue, which I believe is unexpected
Tests
pytest tests/test_tenacity.py::TestWaitConditions::test_wait_random_exponential