From: Amitay Isaacs Date: Thu, 5 Nov 2015 05:11:59 +0000 (+1100) Subject: ctdb-tests: Remove last remaining instance of ctdb -n all X-Git-Tag: tevent-0.9.27~28 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7c1d4b9abb009d21c80b6d205e4f42ddcdce7950;p=thirdparty%2Fsamba.git ctdb-tests: Remove last remaining instance of ctdb -n all _cluster_is_recovered() is used to check if all the nodes in the cluster have recovery mode set to NORMAL. This is mainly used just after recovery to wait till the recovery is over. Instead just check the recovery mode on node 0. Signed-off-by: Amitay Isaacs Reviewed-by: Martin Schwenke --- diff --git a/ctdb/tests/scripts/integration.bash b/ctdb/tests/scripts/integration.bash index e3fb3d4e1c7..67f4106adb5 100644 --- a/ctdb/tests/scripts/integration.bash +++ b/ctdb/tests/scripts/integration.bash @@ -320,7 +320,7 @@ _cluster_is_healthy () _cluster_is_recovered () { - node_has_status all recovered + node_has_status 0 recovered } _cluster_is_ready ()