ctdb-tests: Clean up and rename simple transaction_loop test
authorMartin Schwenke <martin@meltin.net>
Tue, 2 Aug 2016 04:50:31 +0000 (14:50 +1000)
committerMartin Schwenke <martins@samba.org>
Mon, 8 Aug 2016 06:17:33 +0000 (08:17 +0200)
* 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>
ctdb/tests/simple/53_transaction_loop.sh [moved from ctdb/tests/simple/53_ctdb_transaction.sh with 61% similarity]

similarity index 61%
rename from ctdb/tests/simple/53_ctdb_transaction.sh
rename to ctdb/tests/simple/53_transaction_loop.sh
index e48ecc1427550c1a840dceb49b71783dec90ee34..f00fe1e63a10c51c52cfdc57a2045c8eb5361f4e 100755 (executable)
@@ -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"