Test suite: Fix consistency in 26_ctdb_config_check_error_on_unreachable.
authorMartin Schwenke <martin@meltin.net>
Fri, 11 Feb 2011 04:14:46 +0000 (15:14 +1100)
committerMartin Schwenke <martin@meltin.net>
Mon, 8 Aug 2011 06:35:55 +0000 (16:35 +1000)
commit73cfc304513358e99e6505c95f44a4d319201309
tree9319eec5ea748aa062c55f51e48bad933005d448
parent7758fd0591467a758e5d22404aa59fcbc1e1cb8b
Test suite: Fix consistency in 26_ctdb_config_check_error_on_unreachable.

The test currently waits until any node thinks that the test node is
disconnected, and then uses node 0 as a proxy for testing.  However,
nodes may notice at different times that a node is disconnected, so
this test can fail unnecessarily.

We force the proxy node for the wait-until-disconnected to be the same
as the proxy node used to launch the actual tests.

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