ctdb-tests: Add function ctdb_test_on_cluster()
commit59055f4da1ac4747c771a8acf2392b5e4599679b
authorMartin Schwenke <martin@meltin.net>
Wed, 2 Oct 2019 05:08:18 +0000 (2 15:08 +1000)
committerAmitay Isaacs <amitay@samba.org>
Fri, 4 Oct 2019 09:41:28 +0000 (4 09:41 +0000)
treeef611ca4f027027d8f6dc7caff71316b58ad3cf8
parent65ca431c95e53e8686c2887d8c8ddaf67999305b
ctdb-tests: Add function ctdb_test_on_cluster()

This centralises this logic.  Use it in a subset of tests - there are
other cases but these will be cleaned up soon.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
ctdb/tests/INTEGRATION/failover/pubips.001.list.sh
ctdb/tests/INTEGRATION/failover/pubips.050.missing_ip.sh
ctdb/tests/scripts/integration.bash