summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schwenke <martin@meltin.net>2018-08-21 11:18:34 +1000
committerAmitay Isaacs <amitay@samba.org>2018-08-24 10:59:21 +0200
commit8e160d331aaccd64b1a767c0bde9e310c80afe06 (patch)
tree80dbca0eb994c86d5113413831cb39bbdcd0594a
parent914e9f22d85b9274871b7c7d5486354928080e51 (diff)
downloadsamba-8e160d331aaccd64b1a767c0bde9e310c80afe06.tar.gz
ctdb-tests: Drop DisableIPFailover simple test
This is about to become a config file option that can't be dynamically changed at run-time, so drop this test for now. This test will be added once the tunable becomes a config file option. BUG: https://bugzilla.samba.org/show_bug.cgi?id=13589 Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com>
-rwxr-xr-xctdb/tests/simple/19_ip_takeover_noop.sh29
1 files changed, 1 insertions, 28 deletions
diff --git a/ctdb/tests/simple/19_ip_takeover_noop.sh b/ctdb/tests/simple/19_ip_takeover_noop.sh
index c48379e5877..af0cdee383b 100755
--- a/ctdb/tests/simple/19_ip_takeover_noop.sh
+++ b/ctdb/tests/simple/19_ip_takeover_noop.sh
@@ -3,10 +3,7 @@
test_info()
{
cat <<EOF
-Check that CTDB operates correctly if:
-
-* DisableIPFailover is set; or
-* there are 0 public IPs configured
+Check that CTDB operates correctly if there are 0 public IPs configured
This test only does anything with local daemons. On a real cluster it
has no way of updating configuration.
@@ -31,30 +28,6 @@ ctdb_restart_when_done
select_test_node_and_ips
-echo "Setting DisableIPFailover=1 on all nodes"
-try_command_on_node all $CTDB setvar DisableIPFailover 1
-
-echo "Getting \"before\" IP allocation..."
-try_command_on_node -v any $CTDB ip all
-before="$out"
-
-echo "Disabling node ${test_node}..."
-try_command_on_node "$test_node" $CTDB disable
-wait_until_node_has_status $test_node disabled
-
-echo "Getting \"after\" IP allocation..."
-try_command_on_node -v any $CTDB ip all
-after="$out"
-
-if [ "$before" == "$after" ] ; then
- echo "GOOD: IP allocation is unchanged"
- echo
-else
- die "BAD: IP allocation changed"
-fi
-
-echo "----------------------------------------"
-
daemons_stop
echo "Starting CTDB with an empty public addresses configuration..."