ctdb-tests: Populate per-node known IPs inline
authorMartin Schwenke <martin@meltin.net>
Fri, 3 Feb 2017 03:41:57 +0000 (14:41 +1100)
committerMartin Schwenke <martins@samba.org>
Fri, 24 Feb 2017 06:47:11 +0000 (07:47 +0100)
commit58296e3eae4010270f3bcabd284fe3a2428a21a2
treebe585da05f447f84132659f49de1d043e5bab25a
parent5bb6ec6af2359a5b463349df54c168741cb1aca3
ctdb-tests: Populate per-node known IPs inline

At the moment this is done as a post-processing step for any nodes
that have no known IPs.  However, this doesn't allow testing of
scenarios where there no known IPs on one or more nodes.

Add relevant tests.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
ctdb/tests/src/ipalloc_read_known_ips.c
ctdb/tests/takeover/lcp2.034.sh [new file with mode: 0755]
ctdb/tests/takeover_helper/030.sh [new file with mode: 0755]