You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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>
3 years ago
..
ansible_test Relocate ansible-test self tests outside package. (#61255) 5 years ago
integration user - consistently create user home directory on Linux (#71952) 3 years ago
lib/ansible_test Add support for testing with Python 3.10. 3 years ago
sanity Rename hacking/shippable to hacking/azp. 3 years ago
support Overhaul ansible-test container management. 3 years ago
units ansible-galaxy - increase page size and add retry decorator for throttling (#74240) 3 years ago
utils/shippable Switch incidental OS X tests to macOS. (#74564) 3 years ago