diff options
author | Martin Schwenke <martin@meltin.net> | 2019-05-07 15:42:49 +1000 |
---|---|---|
committer | Amitay Isaacs <amitay@samba.org> | 2019-05-14 07:25:37 +0000 |
commit | dc89db8ca6aadd4a9f7e8a85843c53709d04587c (patch) | |
tree | c9ee34e82d0422ac9a1a2e4dd2de92cb3f672cc8 /ctdb/server | |
parent | 8be4ee1a28d5c037955832b6f827d40f28f02796 (diff) | |
download | samba-dc89db8ca6aadd4a9f7e8a85843c53709d04587c.tar.gz |
ctdb-tests: Fix logic error in simple ctdb reloadips test
There is a chance that restoring IP addresses to the test node will
result in different IP addresses being assigned to that node.
Removing a single IP address may then fail (or be a no-op) if it is
done after the restore.
So, swap the single IP address removal to happen first, then restore,
then remove all IP addresses.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=13924
Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
Diffstat (limited to 'ctdb/server')
0 files changed, 0 insertions, 0 deletions