mirror of
https://github.com/samba-team/samba.git
synced 2025-02-28 01:58:17 +03:00
ctdb-tests: Clean database before the test
Signed-off-by: Amitay Isaacs <amitay@gmail.com> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Martin Schwenke <martin@meltin.net>
This commit is contained in:
parent
16f33c992e
commit
277aad6870
@ -30,6 +30,9 @@ set -e
|
||||
|
||||
cluster_is_healthy
|
||||
|
||||
try_command_on_node 0 "$CTDB attach transaction_loop.tdb persistent"
|
||||
try_command_on_node 0 "$CTDB wipedb transaction_loop.tdb"
|
||||
|
||||
try_command_on_node 0 "$CTDB listnodes"
|
||||
num_nodes=$(echo "$out" | wc -l)
|
||||
|
||||
|
@ -49,6 +49,9 @@ set -e
|
||||
|
||||
cluster_is_healthy
|
||||
|
||||
try_command_on_node 0 "$CTDB attach transaction_loop.tdb persistent"
|
||||
try_command_on_node 0 "$CTDB wipedb transaction_loop.tdb"
|
||||
|
||||
try_command_on_node 0 "$CTDB listnodes"
|
||||
num_nodes=$(echo "$out" | wc -l)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user