ctdb-tests: Drop unused function maybe_stop_ctdb()
authorMartin Schwenke <martin@meltin.net>
Fri, 28 Sep 2018 10:41:45 +0000 (20:41 +1000)
committerAmitay Isaacs <amitay@samba.org>
Mon, 8 Oct 2018 00:46:22 +0000 (02:46 +0200)
There are too many functions to start/stop daemons.  Simplify this.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
ctdb/tests/scripts/integration.bash
ctdb/tests/simple/scripts/local_daemons.bash

index 5f31ae9a7146ceabfed86d0e14cd39c3f399dfd8..b255f063ba25e217f71a7887d51b12b51759bfca 100644 (file)
@@ -580,12 +580,6 @@ ctdb_init ()
     return 1
 }
 
-# Does nothing on cluster and should be overridden for local daemons
-maybe_stop_ctdb ()
-{
-    :
-}
-
 ctdb_restart_when_done ()
 {
     ctdb_test_restart_scheduled=true
index 58b1c823a369a60dee6c79fcdfb140fdac8818b9..34412aa964d932b6bb2f1cae584ac55ac53e6515 100644 (file)
@@ -205,11 +205,6 @@ restart_ctdb_1 ()
        start_ctdb_1 "$1"
 }
 
-maybe_stop_ctdb ()
-{
-       ctdb_stop_all
-}
-
 # onnode will use CTDB_BASES to help the ctdb tool connection to each
 # daemon
 export CTDB_BASES=""