summaryrefslogtreecommitdiff
path: root/selftest
diff options
context:
space:
mode:
authorMartin Schwenke <martin@meltin.net>2019-12-10 14:44:45 +1100
committerMartin Schwenke <martins@samba.org>2020-07-22 07:53:36 +0000
commit37c26a9590b2d6712b38cf249538b512c6f6b546 (patch)
tree5f84a7e6464bc684ef077f37062112af63455a34 /selftest
parenta766136df459df33becd05726253b83d32993a94 (diff)
downloadsamba-37c26a9590b2d6712b38cf249538b512c6f6b546.tar.gz
ctdb-tests: Separate custom cluster startup from test initialisation
Separate cluster startup from test initialisation for tests that start the cluster with customised configuration. In these cases the result of the cluster startup is actually the point of the test. Additionally, pubips.013.failover_noop.sh claims to have completed test initialisation twice, which just seems wrong. The result is: * ctdb_test_init() takes one option (-n) to indicate when it should not configure/start the cluster * New function ctdb_nodes_start_custom() accepts options for special cluster configuration, only operates on local daemons and triggers a test failure rather than a test error on failure. Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com>
Diffstat (limited to 'selftest')
0 files changed, 0 insertions, 0 deletions