From 5ad356c282044db251c395db06900b249ff07544 Mon Sep 17 00:00:00 2001 From: Martin Schwenke Date: Wed, 18 Sep 2019 11:43:53 +1000 Subject: ctdb-tests: Add function ctdb_test_skip_on_cluster() Use it in relevant tests. Signed-off-by: Martin Schwenke Reviewed-by: Amitay Isaacs --- ctdb/tests/INTEGRATION/failover/pubips.013.failover_noop.sh | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'ctdb/tests/INTEGRATION/failover') diff --git a/ctdb/tests/INTEGRATION/failover/pubips.013.failover_noop.sh b/ctdb/tests/INTEGRATION/failover/pubips.013.failover_noop.sh index d162f0e5fba..0c6fd833a5e 100755 --- a/ctdb/tests/INTEGRATION/failover/pubips.013.failover_noop.sh +++ b/ctdb/tests/INTEGRATION/failover/pubips.013.failover_noop.sh @@ -17,10 +17,7 @@ EOF set -e -if [ -z "$TEST_LOCAL_DAEMONS" ] ; then - echo "SKIPPING this test - only runs against local daemons" - exit 0 -fi +ctdb_test_skip_on_cluster echo "Starting CTDB with failover disabled..." ctdb_test_init -F -- cgit v1.2.1