From 97ad353a67ce0232d7ca5637f1bf8886e2df1aca Mon Sep 17 00:00:00 2001 From: Martin Schwenke Date: Fri, 10 May 2019 19:22:16 +1000 Subject: [PATCH] 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 Reviewed-by: Amitay Isaacs --- ctdb/tests/scripts/integration.bash | 1 + 1 file changed, 1 insertion(+) diff --git a/ctdb/tests/scripts/integration.bash b/ctdb/tests/scripts/integration.bash index ce5bd576b24..32a729d0249 100644 --- a/ctdb/tests/scripts/integration.bash +++ b/ctdb/tests/scripts/integration.bash @@ -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 -- 2.47.3