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
Sam Doran c1589c33c4
Reboot - Fix command not found, add Apline support, fix Solaris command (#49272)
* Fix various bugs related in reboot

- Use format strings for consistency and improve debug log messages
- Use local variables instead of class attributes in order to be thread safe
- Run setup module to get distribution and version
- Run find module to get full path of shutdown command
- Use ansible_os_family and ansible_distribution to find commands and args
- Use same command for all Solaris/SunOS distributions
- Move delay calculations to properties
- Reliably check for module run failure
- Fix bug in run_test_command() that accidentally made the method work properly
- Use better exceptions rather than Exception
- Use dict literals rather than constructors
- Correct _check_delay() so it always returns a value, not None
- Don't store and return result in run_test_command() because it's not used anywhere
- add test for post reboot command that fails
- test negative values for delay parameters
6 years ago
..
cache Update ansible-test sanity command. (#31958) 7 years ago
integration Reboot - Fix command not found, add Apline support, fix Solaris command (#49272) 6 years ago
legacy Digital Ocean Integration tests (#29960) 6 years ago
results Collect data from integration test runs. (#28650) 7 years ago
runner Add virtualenv symlink for RHEL 8. 6 years ago
sanity mongodb_shard module and test exception (#43673) 6 years ago
units Consolidate handler tracking (#49338) 6 years ago
utils Fix passing of env vars to Shippable. 6 years ago