diff options
| author | Martin Schwenke <martin@meltin.net> | 2009-07-03 18:01:29 +1000 |
|---|---|---|
| committer | Martin Schwenke <martin@meltin.net> | 2009-07-03 18:01:29 +1000 |
| commit | 7b3abce6848e0f8ca0dbeb083d8cdefac421fe8a (patch) | |
| tree | 334865ea8af967deacca6c15957b77243d914c6f /ctdb/tests/scripts | |
| parent | dba6c1ca7724a61ddcfb5fa7cc0d4017cb2097e6 (diff) | |
Add an extra ctdb recovery to test function restart_ctdb().
There are still very rare cases where IPs haven't been reallocated
before the beginning of the next test, so this adds a sleep and an
extra call to "ctdb recover" to restart_ctdb().
Signed-off-by: Martin Schwenke <martin@meltin.net>
(This used to be ctdb commit c2bdb77d91761c003e2f0e6918a27c54150f6030)
Diffstat (limited to 'ctdb/tests/scripts')
| -rw-r--r-- | ctdb/tests/scripts/ctdb_test_functions.bash | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ctdb/tests/scripts/ctdb_test_functions.bash b/ctdb/tests/scripts/ctdb_test_functions.bash index 6485868cc2..40f1e4fa6f 100644 --- a/ctdb/tests/scripts/ctdb_test_functions.bash +++ b/ctdb/tests/scripts/ctdb_test_functions.bash @@ -631,9 +631,9 @@ restart_ctdb () # cluster to stabilise before a subsequent test. echo "Forcing a recovery..." onnode -q 0 ctdb recover - - #echo "Sleeping to allow ctdb to settle..." - #sleep_for 10 + sleep_for 1 + echo "Forcing a recovery..." + onnode -q 0 ctdb recover echo "ctdb is ready" } |
