summaryrefslogtreecommitdiff
path: root/qpid/cpp/src/tests/run_failover_soak
diff options
context:
space:
mode:
authorMichael Goulish <mgoulish@apache.org>2009-11-13 05:37:54 +0000
committerMichael Goulish <mgoulish@apache.org>2009-11-13 05:37:54 +0000
commit26d38cabbbee08fc1adf66284dbbd403b8e46b76 (patch)
treea9bbb91f4b8333a621851547240c73781135cd67 /qpid/cpp/src/tests/run_failover_soak
parent1b679a2b9ba0e6e6c9bb78a877e45983bf3cb75f (diff)
downloadqpid-python-26d38cabbbee08fc1adf66284dbbd403b8e46b76.tar.gz
Make failover_soak and its children adjustable as to
the number of brokers in the cluster, and the number of queues talking through the cluster during the test. resuming_receiver.cpp and replaying_sender.cpp now take command line args to control the queue name. If more than 1 queue is desired, failover_soak.cpp will start up N queue, each with its own sender and receiver. Queue names are now made unique with the failover_soak PID as part of their name. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@835746 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src/tests/run_failover_soak')
-rwxr-xr-xqpid/cpp/src/tests/run_failover_soak12
1 files changed, 7 insertions, 5 deletions
diff --git a/qpid/cpp/src/tests/run_failover_soak b/qpid/cpp/src/tests/run_failover_soak
index 8d5b37f008..082cd75449 100755
--- a/qpid/cpp/src/tests/run_failover_soak
+++ b/qpid/cpp/src/tests/run_failover_soak
@@ -24,11 +24,13 @@
host=127.0.0.1
MODULES=${MODULES:-../.libs}
-MESSAGES=${MESSAGES:-300000}
-REPORT_FREQUENCY=${REPORT_FREQUENCY:-`expr $MESSAGES / 20`}
-VERBOSITY=${VERBOSITY:-1}
-DURABILITY=${DURABILITY:-1}
+MESSAGES=${MESSAGES:-1000000}
+REPORT_FREQUENCY=${REPORT_FREQUENCY:-20000}
+VERBOSITY=${VERBOSITY:-10}
+DURABILITY=${DURABILITY:-0}
+N_QUEUES=${N_QUEUES:-1}
+N_BROKERS=${N_BROKERS:-3}
rm -f soak-*.log
-exec ./failover_soak $MODULES ./declare_queues ./replaying_sender ./resuming_receiver $MESSAGES $REPORT_FREQUENCY $VERBOSITY $DURABILITY
+exec ./failover_soak $MODULES ./declare_queues ./replaying_sender ./resuming_receiver $MESSAGES $REPORT_FREQUENCY $VERBOSITY $DURABILITY $N_QUEUES $N_BROKERS