mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
ctdb-tests: Actually restart if cluster doesn't become healthy
BUG: https://bugzilla.samba.org/show_bug.cgi?id=13924 Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com>
This commit is contained in:
parent
a60e77157c
commit
97ad353a67
@ -520,6 +520,7 @@ ctdb_init ()
|
||||
{
|
||||
local i
|
||||
for i in $(seq 1 5) ; do
|
||||
ctdb_stop_all >/dev/null 2>&1 || :
|
||||
ctdb_start_all || {
|
||||
echo "Start failed. Trying again in a few seconds..."
|
||||
sleep_for 5
|
||||
|
Loading…
Reference in New Issue
Block a user