summaryrefslogtreecommitdiff
path: root/ctdb/tests/INTEGRATION/failover
diff options
context:
space:
mode:
authorMartin Schwenke <martin@meltin.net>2019-09-18 11:43:53 +1000
committerAmitay Isaacs <amitay@samba.org>2019-10-04 09:41:28 +0000
commit5ad356c282044db251c395db06900b249ff07544 (patch)
treecda75080afc893001221ba29510bc52f0aa9f75f /ctdb/tests/INTEGRATION/failover
parent59055f4da1ac4747c771a8acf2392b5e4599679b (diff)
downloadsamba-5ad356c282044db251c395db06900b249ff07544.tar.gz
ctdb-tests: Add function ctdb_test_skip_on_cluster()
Use it in relevant tests. Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com>
Diffstat (limited to 'ctdb/tests/INTEGRATION/failover')
-rwxr-xr-xctdb/tests/INTEGRATION/failover/pubips.013.failover_noop.sh5
1 files changed, 1 insertions, 4 deletions
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