ansible/test/units/module_utils
Kevin Breit 489156378c Meraki - Enable API call rate limiting for requests (#54827)
* Initial commit for rate limiting
- Detects if error code is 429
- Pauses for random time between .5 and 5 seconds before retrying
- If it fails 10 times, give up and tell user

* Redo structure of request() to support rate limiting

* Hold down timer is now a sliding scale
- 3 * number of retries
- Fails after the 30 second wait

* Whitespace fixes

* Redo implementation using decorators
- Errors aren't tested but code works for regular calls

* Unit tests work for error handling

* Add integration tests for successful retries

* Add condition for 502 errors and retry

* Move _error_report out of the class

* PEP8 fixes

* Add changelog entry
2019-08-27 16:32:09 -04:00
..
acme crypto modules: fix sanity errors (#60046) 2019-08-18 05:37:57 +02:00
aws
basic unit tests: remove unused imports (#60462) 2019-08-13 19:21:43 +02:00
cloud
common Fix unit tests to work with pytest >= 5.0 (#60246) 2019-08-09 14:58:46 -04:00
docker docker: fix sanity errors (#60047) 2019-08-09 23:50:11 +02:00
ec2
facts Speed up units using time.sleep by mocking or shortening sleep time (#61064) 2019-08-21 16:52:58 -05:00
gcp unit tests: remove unused imports (#59636) 2019-07-26 10:53:31 -04:00
hwc Unit tests: remove unused imports (#59740) 2019-07-29 22:10:13 +02:00
json_utils unit tests: remove unused imports (#59636) 2019-07-26 10:53:31 -04:00
net_tools unit tests: remove unused imports (#59636) 2019-07-26 10:53:31 -04:00
network Meraki - Enable API call rate limiting for requests (#54827) 2019-08-27 16:32:09 -04:00
parsing
postgresql Postgres module_utils: add get_connect_params + unit tests (#58067) 2019-06-19 06:49:19 -07:00
remote_management Adding dell ome device_info module (#53438) 2019-06-10 06:41:48 -04:00
urls ansible-galaxy - define multiple galaxy instances in ansible.cfg (#60553) 2019-08-21 07:49:05 +10:00
xenserver unit tests: remove unused imports (#60462) 2019-08-13 19:21:43 +02:00
__init__.py
conftest.py
test_database.py
test_distribution_version.py Get minor version number for CentOS and Debian (#57814) 2019-06-28 19:21:35 -04:00
test_distro.py
test_hetzner.py
test_known_hosts.py unit tests: remove unused imports (#59636) 2019-07-26 10:53:31 -04:00
test_kubevirt.py kubevirt: more unit tests (#57739) 2019-06-25 20:06:13 +10:00
test_netapp.py Improved netapp module utility for E-Series. (#59527) 2019-08-01 13:24:38 -04:00
test_text.py
test_utm_utils.py
test_vmware.py VMware: add support for http_proxy in connection API 2019-08-01 15:57:26 +02:00