tests/simple: Fix the missing IP test
commit0997b0c400917fa321ab5b5d13e95ddbe68ab0b9
authorMartin Schwenke <martin@meltin.net>
Mon, 29 Jul 2013 05:09:23 +0000 (29 15:09 +1000)
committerAmitay Isaacs <amitay@gmail.com>
Wed, 14 Aug 2013 05:57:03 +0000 (14 15:57 +1000)
tree03db4b64b57ae22fcf495622559874674c514a15
parent8f1e94dfa49e4813334b51778059aa082442f446
tests/simple: Fix the missing IP test

Update the missing IP test to wait until restarts are complete.
Otherwise a service restart can collide with the following monitor
event and cause chaos.

Also, do not disable 10.interface until it matters.  Disabling it too
early can cause even more chaos if something goes wrong with the
monitor step.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Pair-programmed-with: Amitay Isaacs <amitay@gmail.com>

(This used to be ctdb commit 4e3bd06916bd3adac213fb18c7c2a24854b02d45)
ctdb/tests/simple/60_recoverd_missing_ip.sh