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
2018-12-11 11:05:10 -05:00
..
cache
integration Reboot - Fix command not found, add Apline support, fix Solaris command (#49272) 2018-12-11 11:05:10 -05:00
legacy Digital Ocean Integration tests (#29960) 2018-11-28 12:07:47 +00:00
results
runner Add virtualenv symlink for RHEL 8. 2018-12-07 08:53:10 -08:00
sanity mongodb_shard module and test exception (#43673) 2018-12-05 16:29:45 -05:00
units Consolidate handler tracking (#49338) 2018-12-11 10:58:19 -05:00
utils Fix passing of env vars to Shippable. 2018-11-14 10:50:31 -08:00