diff options
author | Martin Schwenke <martin@meltin.net> | 2016-08-02 14:50:31 +1000 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2016-08-10 11:24:35 +0200 |
commit | ea6a9764ebef6b60044a2370a94a4b84ced6775d (patch) | |
tree | d9cab55a163780f8aad72f130f8f6b395d817309 | |
parent | 106e572077a548f07d7337c6a8337392a92e4307 (diff) | |
download | samba-ea6a9764ebef6b60044a2370a94a4b84ced6775d.tar.gz |
ctdb-tests: Clean up and rename simple transaction_loop test
* Rename to clarify purpose of test
* Simplify test info to avoid unnecessary bit-rot
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12109
Pair-programmed-with: Amitay Isaacs <amitay@gmail.com>
Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
(cherry picked from commit de04cd578416168290c51f7c4e326b864ab425a4)
-rwxr-xr-x | ctdb/tests/simple/53_transaction_loop.sh (renamed from ctdb/tests/simple/53_ctdb_transaction.sh) | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/ctdb/tests/simple/53_ctdb_transaction.sh b/ctdb/tests/simple/53_transaction_loop.sh index e48ecc14275..f00fe1e63a1 100755 --- a/ctdb/tests/simple/53_ctdb_transaction.sh +++ b/ctdb/tests/simple/53_transaction_loop.sh @@ -3,22 +3,11 @@ test_info() { cat <<EOF -Verify that the ctdb_transaction test succeeds. +Verify that the transaction_loop test succeeds. Prerequisites: * An active CTDB cluster with at least 2 active nodes. - -Steps: - -1. Verify that the status on all of the ctdb nodes is 'OK'. -2. Run two copies of ctdb_transaction on each node with a 30 second - timeout. -3. Ensure that all ctdb_transaction processes complete successfully. - -Expected results: - -* ctdb_transaction runs without error. EOF } @@ -43,5 +32,5 @@ fi t="$CTDB_TEST_WRAPPER $VALGRIND transaction_loop \ -n ${num_nodes} -t ${CTDB_TEST_TIMELIMIT}" -echo "Running ctdb_transaction on all $num_nodes nodes." +echo "Running transaction_loop on all $num_nodes nodes." try_command_on_node -v -p all "$t" |