1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-26 10:04:02 +03:00

tests: remove persistent_safe write test.

This is useless now that persistent writes without transactions are forbidden.

Michael

(This used to be ctdb commit 9ac82311d796e1fab31f8de62b8ccc754445093c)
This commit is contained in:
Michael Adam 2009-07-30 11:59:02 +02:00
parent c32ff2bbb0
commit aa6e42a4ba

View File

@ -1,39 +0,0 @@
#!/bin/bash
test_info()
{
cat <<EOF
Verify that the ctdb_persistent test succeeds for safe persistent writes.
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_persistent on each node with a 30 second
timeout.
3. Ensure that all ctdb_persistent processes complete successfully.
Expected results:
* ctdb_persistent tests safe persistent writes without error.
EOF
}
. ctdb_test_functions.bash
ctdb_test_init "$@"
set -e
cluster_is_healthy
try_command_on_node 0 "$CTDB listnodes"
num_nodes=$(echo "$out" | wc -l)
t="$CTDB_TEST_WRAPPER $VALGRIND ctdb_persistent --timelimit=30"
echo "Running ctdb_persistent on all $num_nodes nodes."
try_command_on_node -v -pq all "$t & $t"