ctdb-tests: Simplify IP address checking
commitff4935d180e1a290e4ba7ab0f8710d9a022d1b82
authorMartin Schwenke <martin@meltin.net>
Wed, 10 Aug 2022 23:15:38 +0000 (11 09:15 +1000)
committerAmitay Isaacs <amitay@samba.org>
Thu, 25 Aug 2022 15:22:36 +0000 (25 15:22 +0000)
treeaf3c766587ad6b54295551fe3a605d726cdad9e5
parent42aedc62e3a16bcdafbef06140105650f15f6269
ctdb-tests: Simplify IP address checking

Use a new function and wait_until() to simplify.

get_test_ip_mask_and_iface() not needed here because
select_test_node_and_ips() sets $test_ip, and neither $mask nor $iface
is used.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
ctdb/tests/CLUSTER/complex/11_ctdb_delip_removes_ip.sh