Revert "ctdb-tests: Don't bother shutting down daemons in ctdb_init()"
[vlendec/samba-autobuild/.git] / ctdb / tests / scripts / integration.bash
index 9b297313c8b985cf95a9425abc950c32a36e3d22..aa1554ee318df7cbb17aaf50cfe902112f69c354 100644 (file)
@@ -599,6 +599,8 @@ wait_until_node_has_no_ips ()
 
 ctdb_init ()
 {
+       ctdb_nodes_stop >/dev/null 2>&1 || :
+
        if ! ctdb_nodes_start ; then
                echo "Cluster start failed"
                return 1