From 2d6a800a789ca59fdab92422f98a4e05ba55f34c Mon Sep 17 00:00:00 2001 From: Martin Schwenke Date: Fri, 2 Sep 2011 13:20:50 +1000 Subject: [PATCH] Tests - simple integration - do a "ctdb sync" after restarting the cluster There looks to be a minor race where IPs haven't yet been reallocated but the cluster is healthy. This should fix it. Signed-off-by: Martin Schwenke --- tests/scripts/ctdb_test_functions.bash | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/scripts/ctdb_test_functions.bash b/tests/scripts/ctdb_test_functions.bash index 13797dc8..670b91e6 100644 --- a/tests/scripts/ctdb_test_functions.bash +++ b/tests/scripts/ctdb_test_functions.bash @@ -929,6 +929,9 @@ restart_ctdb () continue fi + echo "Doing a sync..." + onnode -q 0 $CTDB sync + echo "ctdb is ready" return 0 done -- 2.34.1