ansible/test/units
Sloane Hertel ee725846f0
ansible-galaxy - increase page size and add retry decorator for throttling (#74240)
* Get available collection versions with page_size=100 for v2 and limit=100 for v3

* Update unit tests for larger page sizes

* Add a generic retry decorator in module_utils/api.py that accepts an Iterable of delays and a callable to determine if an exception inheriting from Exception should be retried

* Use the new decorator to handle Galaxy API rate limiting

* Add unit tests for new retry decorator

* Preserve the decorated function's metadata with functools.wraps

Co-authored-by: Matt Martz <matt@sivel.net>
Co-authored-by: Sviatoslav Sydorenko <wk.cvs.github@sydorenko.org.ua>
2021-05-10 13:26:41 -04:00
..
_vendor Another unit test fix for Python 3.10. (#74628) 2021-05-07 17:26:41 -07:00
ansible_test Remove Shippable CI provider from ansible-test. 2021-05-05 17:42:13 -07:00
cli Clarify CLI version number as core version (#72287) 2021-03-01 11:14:56 -06:00
compat
config Provide better decryption errors for single vault values (#72362) 2020-11-18 14:25:32 -06:00
errors Fix YAML error message when error is at the end of the file (#73241) 2021-01-19 10:07:36 -05:00
executor Use ArgumentSpecValidator in AnsibleModule (#73703) 2021-03-19 12:09:18 -07:00
galaxy ansible-galaxy - increase page size and add retry decorator for throttling (#74240) 2021-05-10 13:26:41 -04:00
inventory
inventory_test_data/group_vars
mock only add data when there is data to add (#54559) 2021-02-11 10:07:20 -05:00
module_utils ansible-galaxy - increase page size and add retry decorator for throttling (#74240) 2021-05-10 13:26:41 -04:00
modules async_wrapper more info on end (#74199) 2021-04-13 10:30:13 -04:00
parsing Fix unit tests on Python 3.10. 2021-05-07 16:56:30 -07:00
playbook [playbook/play.py] Increase error test coverage (#74217) 2021-04-13 11:22:02 -04:00
plugins pause - ensure control characters are always set appropriately (#74568) 2021-05-06 15:09:26 -04:00
regex
template
utils defend against bad or missing crypt (#74304) 2021-04-20 11:47:34 -04:00
vars
__init__.py
requirements.txt Fix unit tests on Python 3.10. 2021-05-07 16:56:30 -07:00
test_constants.py
test_context.py