ctdb-tests: Need to drop public IPs in kill-failover tests
commita07af1bb56a76d1a7ab856547c801499fc17b21b
authorMartin Schwenke <martin@meltin.net>
Wed, 3 Dec 2014 01:10:07 +0000 (3 12:10 +1100)
committerMartin Schwenke <martins@samba.org>
Fri, 5 Dec 2014 22:29:39 +0000 (5 23:29 +0100)
tree751f79cb0ded15fd97a169974ab6c91b3abea0ab
parent7f3f3b15d52c4047cbcb1c3e81f65675c8708f5f
ctdb-tests: Need to drop public IPs in kill-failover tests

These tests simulate a dead node rather than a CTDB failure, so drop
IP addresses when killing a "node" to avoid problems with duplicates.

To cope with a CTDB failure a watchdog would be needed to ensure that
the public IPs are dropped when CTDB dies.  Let's not do that now.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
Autobuild-User(master): Martin Schwenke <martins@samba.org>
Autobuild-Date(master): Fri Dec  5 23:29:39 CET 2014 on sn-devel-104
ctdb/tests/complex/31_nfs_tickle.sh
ctdb/tests/complex/45_failover_nfs_kill.sh
ctdb/tests/scripts/integration.bash