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/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
5 years ago
..
cli ansible-galaxy - define multiple galaxy instances in ansible.cfg (#60553) 5 years ago
compat Move unit test compat code out of `lib/ansible/`. (#46996) 6 years ago
config fixes to config manager (#58530) 5 years ago
contrib Fix vmware_inventory unit tests so they run. 6 years ago
errors Add better error when k=v syntax is used with YAML in tasks (#41754) 6 years ago
executor Fix unit tests to work with pytest >= 5.0 (#60246) 5 years ago
galaxy ansible-galaxy - Add timeout and progress indicator for publish and install (#60660) 5 years ago
inventory_test_data/group_vars Merge branch 'v2_final' into devel_switch_v2 9 years ago
mock Move unit test compat code out of `lib/ansible/`. (#46996) 6 years ago
module_utils Meraki - Enable API call rate limiting for requests (#54827) 5 years ago
modules FortiOS modules for 2.9 - 10 (#61367) 5 years ago
parsing Properly JSON encode AnsibleUnsafe, using a pre-processor (#60602) 5 years ago
playbook unit tests: remove unused imports (#60462) 5 years ago
plugins Move instantiation of terminal plugin earlier (#61261) 5 years ago
regex Add toggle to control invalid character substitution in group names (#52748) 6 years ago
template unit tests: remove unused imports (#60462) 5 years ago
utils add subdir support to collection loading (#60682) 5 years ago
vars Fix inventory cache interface (#50446) 6 years ago
__init__.py Add empty-init code-smell script. (#18406) 8 years ago
test_constants.py 1st part of ansible config, adds ansible-config to view/manage configs (#12797) 7 years ago
test_context.py Unit tests: remove unused imports (#59740) 5 years ago