ctdb-tests: Change all cluster setup to use ctdb_test_init()
authorMartin Schwenke <martin@meltin.net>
Mon, 8 Oct 2018 06:25:48 +0000 (17:25 +1100)
committerAmitay Isaacs <amitay@samba.org>
Tue, 6 Nov 2018 06:16:17 +0000 (07:16 +0100)
commit2cb82ef4533a7c10a0ccac5df36f7176f78f9e7b
treec81219f96dfbcf762f1c3c7bfd888fc5e598d1fc
parent9a2910c60b0ae3f6bccf133ae210a7c4b9f1a7fc
ctdb-tests: Change all cluster setup to use ctdb_test_init()

ctdb_test_init() now passes any arguments to setup_ctdb().

Update tests that have custom local daemon configuration to call
ctdb_test_init() directly.  Remove the redundant, initial call to
ctdb_test_init() to avoid starting the cluster an extra time.

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