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/executor
Jonathon Klobucar 7bee994e1c Fix for serial when percent amount is less than one host (#15396)
Ansible when there was a percentage that was calculated to be less than
1.0 would run all hosts as the value for a rolling update.

The error is due to the fact that Python will round a
float that is under 1.0 to 0, which will trigger the case of
0 hosts. The 0 host case tells ansible to run all hosts.

The fix will see if the percentage calculation after int
conversion is 0 and will else to 1 host.
9 years ago
..
__init__.py Making the switch to v2 10 years ago
test_play_iterator.py Fixing PlayIterator bugs 9 years ago
test_playbook_executor.py Fix for serial when percent amount is less than one host (#15396) 9 years ago
test_task_executor.py issue callbacks per item and retry fails 9 years ago
test_task_result.py Adding unit tests for TaskResult 9 years ago