ansible/test
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
..
ansible_test
integration user - consistently create user home directory on Linux (#71952) 2021-05-07 17:00:10 -04:00
lib/ansible_test Add support for testing with Python 3.10. 2021-05-10 08:23:15 -07:00
sanity Rename hacking/shippable to hacking/azp. 2021-05-05 17:21:14 -07:00
support Overhaul ansible-test container management. 2021-04-12 12:40:36 -07:00
units ansible-galaxy - increase page size and add retry decorator for throttling (#74240) 2021-05-10 13:26:41 -04:00
utils/shippable Switch incidental OS X tests to macOS. (#74564) 2021-05-04 11:46:46 -07:00