This is for the real cluster case.
Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
ctdb_stop_all >/dev/null 2>&1 || true
-ctdb_enable_cluster_test_event_scripts
-
ctdb_init
onnode -p all $CTDB_TEST_WRAPPER _service_ctdb start
}
-# Nothing needed for a cluster. Override for local daemons.
setup_ctdb ()
{
- :
+ ctdb_enable_cluster_test_event_scripts
}
start_ctdb_1 ()
ctdb_stop_all >/dev/null 2>&1 || true
-if [ -z "$TEST_LOCAL_DAEMONS" ] ; then
- ctdb_enable_cluster_test_event_scripts
-fi
-
setup_ctdb
ctdb_init