summaryrefslogtreecommitdiff
path: root/qpid/cpp/src/tests/run_failover_soak
diff options
context:
space:
mode:
authorMichael Goulish <mgoulish@apache.org>2010-02-24 05:07:13 +0000
committerMichael Goulish <mgoulish@apache.org>2010-02-24 05:07:13 +0000
commitc58d843138fee82117f68563001dcb1da5d7bcce (patch)
tree4ffeb9e80030b299204b680c8496d340d068e5eb /qpid/cpp/src/tests/run_failover_soak
parent27f0d3d1eadb702d6d12449a0418ab26b01beb00 (diff)
downloadqpid-python-c58d843138fee82117f68563001dcb1da5d7bcce.tar.gz
Failover_soak was not detecting child exits properly, and so
was not terminating when the sending and receiving clients had both exited. Also, the killing of a broker on every loop was excessive and caused test-generated problems that are not meaningful. I have changed the way the failover_soak process detects child exits, and made it only kill brokers about once every twenty times trhough its main loop. ( Using a random number to decide when to do it. ) This still results in a good number of broker-kills during a 500,000 message test. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@915673 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src/tests/run_failover_soak')
-rwxr-xr-xqpid/cpp/src/tests/run_failover_soak4
1 files changed, 2 insertions, 2 deletions
diff --git a/qpid/cpp/src/tests/run_failover_soak b/qpid/cpp/src/tests/run_failover_soak
index 69551a51c2..c276e9cc2f 100755
--- a/qpid/cpp/src/tests/run_failover_soak
+++ b/qpid/cpp/src/tests/run_failover_soak
@@ -26,12 +26,12 @@ host=127.0.0.1
unset QPID_NO_MODULE_DIR # failover_soak uses --module-dir, dont want clash
MODULES=${MODULES:-$moduledir}
-MESSAGES=${MESSAGES:-1000000}
+MESSAGES=${MESSAGES:-500000}
REPORT_FREQUENCY=${REPORT_FREQUENCY:-20000}
VERBOSITY=${VERBOSITY:-10}
DURABILITY=${DURABILITY:-0}
N_QUEUES=${N_QUEUES:-1}
-N_BROKERS=${N_BROKERS:-3}
+N_BROKERS=${N_BROKERS:-4}
rm -f soak-*.log
exec ./failover_soak $MODULES ./declare_queues ./replaying_sender ./resuming_receiver $MESSAGES $REPORT_FREQUENCY $VERBOSITY $DURABILITY $N_QUEUES $N_BROKERS