summaryrefslogtreecommitdiff
path: root/cpp/src/tests/run_failover_soak
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2009-03-03 20:21:01 +0000
committerAlan Conway <aconway@apache.org>2009-03-03 20:21:01 +0000
commitdc982976590c95beee9e2e0d602f974f5a8933a3 (patch)
tree2d55eb5e6e930d83ee0d9e2777721e78a5c79597 /cpp/src/tests/run_failover_soak
parent734f7b2a8defd7a816297e17c112ba2ba2b5d2d9 (diff)
downloadqpid-python-dc982976590c95beee9e2e0d602f974f5a8933a3.tar.gz
cluster::UpdateClient added missing error handling.
Minor improvements to failover_soak tests. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@749730 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/tests/run_failover_soak')
-rwxr-xr-xcpp/src/tests/run_failover_soak8
1 files changed, 4 insertions, 4 deletions
diff --git a/cpp/src/tests/run_failover_soak b/cpp/src/tests/run_failover_soak
index f485f7434d..36dfed79a6 100755
--- a/cpp/src/tests/run_failover_soak
+++ b/cpp/src/tests/run_failover_soak
@@ -47,10 +47,10 @@ host=127.0.0.1
src_root=..
module_dir=$src_root/.libs
-n_messages=300000
-report_frequency=10000
-verbosity=1
+MESSAGES=${MESSAGES:-300000}
+REPORT_FREQUENCY=${REPORT_FREQUENCY:-`expr $MESSAGES / 20`}
+VERBOSITY=${VERBOSITY:-1}
-exec ./failover_soak $src_root $module_dir $host ./declare_queues ./replaying_sender ./resuming_receiver $n_messages $report_frequency $verbosity
+exec ./failover_soak $src_root $module_dir $host ./declare_queues ./replaying_sender ./resuming_receiver $MESSAGES $REPORT_FREQUENCY $VERBOSITY