ansible/test/units
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
..
cli ansible-galaxy - define multiple galaxy instances in ansible.cfg (#60553) 2019-08-21 07:49:05 +10:00
compat
config fixes to config manager (#58530) 2019-07-17 10:39:30 -04:00
contrib
errors
executor Fix unit tests to work with pytest >= 5.0 (#60246) 2019-08-09 14:58:46 -04:00
galaxy ansible-galaxy - Add timeout and progress indicator for publish and install (#60660) 2019-08-23 06:27:28 +10:00
inventory_test_data/group_vars
mock
module_utils Meraki - Enable API call rate limiting for requests (#54827) 2019-08-27 16:32:09 -04:00
modules FortiOS modules for 2.9 - 10 (#61367) 2019-08-27 21:07:39 +05:30
parsing Properly JSON encode AnsibleUnsafe, using a pre-processor (#60602) 2019-08-26 09:08:22 -05:00
playbook unit tests: remove unused imports (#60462) 2019-08-13 19:21:43 +02:00
plugins Move instantiation of terminal plugin earlier (#61261) 2019-08-27 14:33:05 -04:00
regex
template unit tests: remove unused imports (#60462) 2019-08-13 19:21:43 +02:00
utils add subdir support to collection loading (#60682) 2019-08-21 10:45:04 +01:00
vars
__init__.py
test_constants.py
test_context.py Unit tests: remove unused imports (#59740) 2019-07-29 22:10:13 +02:00