ansible/test
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
..
ansible_test Relocate ansible-test self tests outside package. (#61255) 2019-08-24 11:38:30 -07:00
cache
integration Revert "Disable Hetzner Cloud integration tests due to authentication issues (#61375)" (#61383) 2019-08-27 15:30:28 -04:00
legacy safe_eval fix (#57188) 2019-06-06 15:36:22 -04:00
lib/ansible_test ansible-test: async deployment w/ vcenter provider (#59984) 2019-08-27 14:56:43 -04:00
results
sanity vertica_facts: rename to vertica_info (#60916) 2019-08-27 21:28:36 +02:00
units Meraki - Enable API call rate limiting for requests (#54827) 2019-08-27 16:32:09 -04:00
utils Only run package-data sanity once in CI. 2019-08-20 14:09:40 -07:00