ctdb-tests: Make ctdb reloadips tests more reliable
authorMartin Schwenke <martin@meltin.net>
Tue, 7 May 2019 05:29:19 +0000 (15:29 +1000)
committerAmitay Isaacs <amitay@samba.org>
Tue, 14 May 2019 07:25:37 +0000 (07:25 +0000)
commit8be4ee1a28d5c037955832b6f827d40f28f02796
tree193efeb96b2db258e1408b2ef4d10dc1cfe40d25
parentcf00db40355b49443263187f9d97934f91287e51
ctdb-tests: Make ctdb reloadips tests more reliable

ctdb reloadips will fail if it can't disable takover runs.  The most
likely reason for this is that there is already a takeover run in
progress.  We can't predict when this will happen, so retry if this
occurs.

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>
ctdb/tests/complex/18_ctdb_reloadips.sh
ctdb/tests/simple/18_ctdb_reloadips.sh