From 1674d80b61862e1054140c96f5db9eb401b11f11 Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Wed, 18 Nov 2009 17:26:43 +0000 Subject: Added cluster option --cluster-size. --cluster-size=N means that during start-up the cluster waits to have N members before accepting any clients. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@881839 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/tests/run_cluster_tests | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'cpp/src/tests/run_cluster_tests') diff --git a/cpp/src/tests/run_cluster_tests b/cpp/src/tests/run_cluster_tests index 014233d8d3..b090f71852 100755 --- a/cpp/src/tests/run_cluster_tests +++ b/cpp/src/tests/run_cluster_tests @@ -45,8 +45,10 @@ rm -rf $OUTDIR mkdir -p $OUTDIR # Ignore tests requiring a store by default. -TESTS="-i cluster_tests.ClusterStoreTests.* -I $srcdir/cluster_tests.fail $*" +CLUSTER_TESTS_IGNORE=${CLUSTER_TESTS_IGNORE:--i cluster_tests.StoreTests.* -I $srcdir/cluster_tests.fail} +CLUSTER_TESTS=${CLUSTER_TESTS:-$*} -with_ais_group $PYTHON_COMMANDS/qpid-python-test -DOUTDIR=$OUTDIR -m cluster_tests $TESTS || exit 1 +set -x +with_ais_group $PYTHON_COMMANDS/qpid-python-test -DOUTDIR=$OUTDIR -m cluster_tests $CLUSTER_TESTS_IGNORE $CLUSTER_TESTS || exit 1 rm -rf $OUTDIR #exit 0 -- cgit v1.2.1