git.samba.org
/
sahlberg
/
ctdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c46adb2
)
test: get value for --timelimit from environment var CTDB_TEST_TIMELIMIT in transacti...
author
Michael Adam
<obnox@samba.org>
Wed, 9 Dec 2009 20:36:42 +0000
(21:36 +0100)
committer
Michael Adam
<obnox@samba.org>
Wed, 9 Dec 2009 20:56:59 +0000
(21:56 +0100)
Michael
tests/simple/53_ctdb_transaction.sh
patch
|
blob
|
history
diff --git
a/tests/simple/53_ctdb_transaction.sh
b/tests/simple/53_ctdb_transaction.sh
index a7dac509711245270959bd2cd9459ba125b27b91..760f78b510e656cc4cf179c002c721efcb97e9e3 100755
(executable)
--- a/
tests/simple/53_ctdb_transaction.sh
+++ b/
tests/simple/53_ctdb_transaction.sh
@@
-33,7
+33,11
@@
cluster_is_healthy
try_command_on_node 0 "$CTDB listnodes"
num_nodes=$(echo "$out" | wc -l)
-t="$CTDB_TEST_WRAPPER $VALGRIND ctdb_transaction --timelimit=30"
+if test "x${CTDB_TEST_TIMELIMIT}" == "x" ; then
+ CTDB_TEST_TIMELIMIT=30
+fi
+
+t="$CTDB_TEST_WRAPPER $VALGRIND ctdb_transaction --timelimit=${CTDB_TEST_TIMELIMIT}"
echo "Running ctdb_transaction on all $num_nodes nodes."
try_command_on_node -v -pq all "$t & $t"