mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
ctdb-tests: Add function wait_until_node_has_no_ips()
Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com>
This commit is contained in:
parent
698a9ef36e
commit
eda1296d67
@ -480,6 +480,13 @@ wait_until_node_has_some_ips ()
|
||||
wait_until 60 node_has_some_ips "$@"
|
||||
}
|
||||
|
||||
wait_until_node_has_no_ips ()
|
||||
{
|
||||
echo "Waiting until no IPs are assigned to node ${test_node}"
|
||||
|
||||
wait_until 60 ! node_has_some_ips "$@"
|
||||
}
|
||||
|
||||
#######################################
|
||||
|
||||
_service_ctdb ()
|
||||
|
Loading…
Reference in New Issue
Block a user