]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
ctdb-tests: Remove last remaining instance of ctdb -n all
authorAmitay Isaacs <amitay@gmail.com>
Thu, 5 Nov 2015 05:11:59 +0000 (16:11 +1100)
committerAmitay Isaacs <amitay@samba.org>
Fri, 12 Feb 2016 04:32:16 +0000 (05:32 +0100)
_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 <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
ctdb/tests/scripts/integration.bash

index e3fb3d4e1c748a360a14d46e7e99a70e6400eed1..67f4106adb597af65021cf901ec38f2761274229 100644 (file)
@@ -320,7 +320,7 @@ _cluster_is_healthy ()
 
 _cluster_is_recovered ()
 {
-    node_has_status all recovered
+    node_has_status 0 recovered
 }
 
 _cluster_is_ready ()