6 Verify that the ctdb_transaction test succeeds.
10 * An active CTDB cluster with at least 2 active nodes.
14 1. Verify that the status on all of the ctdb nodes is 'OK'.
15 2. Run two copies of ctdb_transaction on each node with a 30 second
17 3. Ensure that all ctdb_transaction processes complete successfully.
21 * ctdb_transaction runs without error.
39 recovery_loop > /tmp/recloop.out &
41 ctdb_test_exit_hook_add "kill $RECLOOP_PID >/dev/null 2>&1"
44 . "${TEST_SCRIPTS_DIR}/integration.bash"
52 try_command_on_node 0 "$CTDB listnodes"
53 num_nodes=$(echo "$out" | wc -l)
55 if test "x${CTDB_TEST_TIMELIMIT}" == "x" ; then
56 CTDB_TEST_TIMELIMIT=30
59 t="$CTDB_TEST_WRAPPER $VALGRIND ctdb_transaction --timelimit=${CTDB_TEST_TIMELIMIT}"
61 echo "Starting recovery loop"
64 echo "Running ctdb_transaction on all $num_nodes nodes."
65 try_command_on_node -v -pq all "$t & $t"