Test suite - try to make addip test more reliable and add some debugging.
authorMartin Schwenke <martin@meltin.net>
Wed, 4 Aug 2010 03:16:06 +0000 (13:16 +1000)
committerMartin Schwenke <martin@meltin.net>
Wed, 4 Aug 2010 03:16:06 +0000 (13:16 +1000)
commitae52cb63756bc60de8d32e01bac5d70975a1c7a0
tree7f90c70a3ee135ffc8c80c7c9e8c9350e53add78
parenta476a56da2219c1047081032595c045f65f8ad3f
Test suite - try to make addip test more reliable and add some debugging.

This test is failing in some situations.  The "ctdb addip" command
works but the IP never appears in the "ctdb ip" output.

Try restricting the last octet to be between 101-199.  At the moment
addresses like 10.0.2.1 are being chosen and these are often the
address of the host machine in autocluster configurations... so might
cause weirdness.

Also add some debugging if checking for the IP address times out.

Signed-off-by: Martin Schwenke <martin@meltin.net>
tests/simple/16_ctdb_config_add_ip.sh