Corosync service should be restarted on failover test

After the "killall" command the corosync service will be
in running state. That is why we should restart service
(but not start) to receive 0 exit code.

Change-Id: Ia46bbc31c6b4c49cdcc92047e1d51c6a5b2216de
Closes-Bug: 1637522
This commit is contained in:
Dmitry Belyaninov 2016-11-09 12:20:50 +00:00
parent 8877c76234
commit f4348d5bb8
1 changed files with 1 additions and 1 deletions

View File

@ -1187,7 +1187,7 @@ class TestHaFailoverBase(TestBasic):
wait_pass(
lambda: assert_equal(
remote_controller.execute(
'service corosync start && service pacemaker '
'service corosync restart && service pacemaker '
'restart')['exit_code'], 0,
'Corosync was not started, see debug log,'
' count-{0}'.format(count)), timeout=20)