mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
switch systemd-journald for sshd for arch service test
the running tests run second because of alphabetical order, and stopping sshd does not kill off the running connection, so we know that sshd has to be on arch for us to connect, so stop it with dead and start it back with running. It is also not possible to stop the systemd-journald process without shutting down the full machine.
This commit is contained in:
parent
7bc60c56d4
commit
0ba39a7108
2 changed files with 2 additions and 2 deletions
|
@ -23,7 +23,7 @@ class ServiceModuleTest(ModuleCase):
|
|||
if os_family == 'RedHat':
|
||||
self.service_name = 'crond'
|
||||
elif os_family == 'Arch':
|
||||
self.service_name = 'systemd-journald'
|
||||
self.service_name = 'sshd'
|
||||
cmd_name = 'systemctl'
|
||||
elif os_family == 'MacOS':
|
||||
self.service_name = 'org.ntp.ntpd'
|
||||
|
|
|
@ -31,7 +31,7 @@ class ServiceTest(ModuleCase, SaltReturnAssertsMixin):
|
|||
if os_family == 'RedHat':
|
||||
self.service_name = 'crond'
|
||||
elif os_family == 'Arch':
|
||||
self.service_name = 'systemd-journald'
|
||||
self.service_name = 'sshd'
|
||||
cmd_name = 'systemctl'
|
||||
elif os_family == 'MacOS':
|
||||
self.service_name = 'org.ntp.ntpd'
|
||||
|
|
Loading…
Add table
Reference in a new issue