ensure we enable service before running service test

This commit is contained in:
ch3ll 2020-04-16 16:40:33 -04:00
parent 44133b28c7
commit bda906d8ee
No known key found for this signature in database
GPG key ID: 1124C6796EBDBD8D
2 changed files with 3 additions and 15 deletions

View file

@ -7,7 +7,6 @@ This project versioning is _similar_ to [Semantic Versioning](https://semver.org
Versions are `MAJOR.PATCH`.
## 3001 - Sodium
## Sodium
### Removed
@ -16,24 +15,12 @@ Versions are `MAJOR.PATCH`.
### Changed
### Fixed
- [#56237](https://github.com/saltstack/salt/pull/56237) - Fix alphabetical ordering and remove duplicates across all documentation indexes - [@myii](https://github.com/myii)
- [#56325](https://github.com/saltstack/salt/pull/56325) - Fix hyperlinks to `salt.serializers` and other documentation issues - [@myii](https://github.com/myii)
### Added
- [#56627](https://github.com/saltstack/salt/pull/56627) - Add new salt-ssh set_path option
## 3000.1
### Removed
### Deprecated
### Changed
### Fixed
- [#56237](https://github.com/saltstack/salt/pull/56237) - Fix alphabetical ordering and remove duplicates across all documentation indexes - [@myii](https://github.com/myii)
- [#56325](https://github.com/saltstack/salt/pull/56325) - Fix hyperlinks to `salt.serializers` and other documentation issues - [@myii](https://github.com/myii)
## 3000.1
### Removed

View file

@ -37,6 +37,7 @@ class SSHMasterTestCase(SSHCase):
service = "org.ntp.ntpd"
if int(os_release.split(".")[1]) >= 13:
service = "com.apple.AirPlayXPCHelper"
self.run_function("service.enable", [service])
ret = self.run_function("service.get_all")
self.assertIn(service, ret)
self.run_function("service.stop", [service])