tests: select_test_node_and_ips() should try to avoid failing
authorMartin Schwenke <martin@meltin.net>
Mon, 2 Jul 2012 04:06:35 +0000 (14:06 +1000)
committerAmitay Isaacs <amitay@gmail.com>
Thu, 26 Jul 2012 12:03:00 +0000 (22:03 +1000)
commit2fd0157382b42aa5c5212b8e743c6f589edc6662
treefd2d3383a0284703b9a81d843069783e96563765
parent47180dc75d15f3d61470705603565b718491c9f8
tests: select_test_node_and_ips() should try to avoid failing

Sometimes "ctdb sync" doesn't do its job, so we end up with unassigned
IPs.

If $test_node isn't set then this is bad.  However, try a few times to
ensure it is set.

Signed-off-by: Martin Schwenke <martin@meltin.net>
tests/scripts/integration.bash