git.samba.org
/
ctdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3922225
)
Tests - simple integration - do a "ctdb sync" after restarting the cluster
author
Martin Schwenke
<martin@meltin.net>
Fri, 2 Sep 2011 03:20:50 +0000
(13:20 +1000)
committer
Martin Schwenke
<martin@meltin.net>
Sun, 25 Sep 2011 04:45:48 +0000
(14:45 +1000)
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 <martin@meltin.net>
tests/scripts/ctdb_test_functions.bash
patch
|
blob
|
history
diff --git
a/tests/scripts/ctdb_test_functions.bash
b/tests/scripts/ctdb_test_functions.bash
index 13797dc89f56c825c38eaf41dfe9dc254c449150..670b91e6f1768db0f2fcd3fadcac54bc3574f605 100644
(file)
--- 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