summaryrefslogtreecommitdiff
path: root/qpid/cpp/src/tests/run_failover_soak
Commit message (Collapse)AuthorAgeFilesLines
* QPID-4514: Remove obsolete cluster code: still more testsAlan Conway2012-12-191-39/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1424141 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Control running of cluster tests.Alan Conway2012-04-161-1/+2
| | | | | | | | | | | Previously cluster tests would run if cluster services were running, even if build was explicitly configured without CPG. Don't run cluster tests unless the build is configured with CPG. If the build is configured *with* CPG, you can still skip the CPG tests by setting QPID_USE_CPG=no in the environment. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1326756 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3572: Make dependance on bashisms explicitGordon Sim2011-11-021-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1196600 13f79535-47bb-0310-9956-ffa450edef68
* Change verbosity back to 0. Oops.Michael Goulish2010-06-011-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@950175 13f79535-47bb-0310-9956-ffa450edef68
* Failover_soak was not detecting child exits properly, and soMichael Goulish2010-02-241-2/+2
| | | | | | | | | | | | | | | | | | 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
* Run cluster tests under cmake.Alan Conway2009-12-021-1/+2
| | | | | | | | | | Various other test fixes. - Env vars to abstract different library location under cmake/automake. - More consistent use of env vars test_env.sh in test scripts. - Fix replication/replicating_exchange mismatch. - Add --no-module-dir to prevent accidentally loading modules. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@886259 13f79535-47bb-0310-9956-ffa450edef68
* Clean up test environment variables, prepare for running more tests in cmake.Alan Conway2009-11-301-2/+3
| | | | | | | | | - consolidate test env vars in test_env.sh, also useful from command line. - generate test_env.sh with autoconf/cmake to cover library location differences. - Remove explicit mention of .libs, use $QPID_MODULE_DIR to load modules. - Fix run_test to run valgrind under cmake git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@885557 13f79535-47bb-0310-9956-ffa450edef68
* Make failover_soak and its children adjustable as to Michael Goulish2009-11-131-5/+7
| | | | | | | | | | | | | | | | | | 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
* Fix QPID-2086 - problem with read-credit.Alan Conway2009-10-011-23/+1
| | | | | | | Also cleaned up the cluster test scripts. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@820717 13f79535-47bb-0310-9956-ffa450edef68
* Override the executable used by ForkedBroker by setting an env. var.Alan Conway2009-04-161-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@765685 13f79535-47bb-0310-9956-ffa450edef68
* Fix issues when cluster is run with persistence enabled.Alan Conway2009-04-111-0/+1
| | | | | | | | | | - Handle partial failures (e.g. due to disk error): failing brokers shut down, others continue. - Enable persistence in cluster tests. - Correct message status in DeliveryRecord updates. - Remove qpid.update queue when update complete - avoid it becoming persistent git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@764204 13f79535-47bb-0310-9956-ffa450edef68
* Add durability option to the cpp failover_soak test. Alan Conway2009-04-091-1/+2
| | | | | | | From Mick Goulish: https://issues.apache.org/jira/browse/QPID-1796, git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@763722 13f79535-47bb-0310-9956-ffa450edef68
* cpp/src/tests/failover_soak.cpp: allow it to run with all modules loaded or ↵Alan Conway2009-03-311-4/+2
| | | | | | | | | only the cluster module. cpp/src/tests/run_failover_soak: run failover_soak with all modules loaded by default. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@760458 13f79535-47bb-0310-9956-ffa450edef68
* cluster::UpdateClient added missing error handling.Alan Conway2009-03-031-4/+4
| | | | | | | Minor improvements to failover_soak tests. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@749730 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1678 Mick Goulish: failover_soak using UUIDs for cluster name to avoid ↵Alan Conway2009-02-241-3/+3
| | | | | | clashes. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@747521 13f79535-47bb-0310-9956-ffa450edef68
* Added the ASF license header to the following filesRajith Muditha Attapattu2008-12-161-0/+19
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@726952 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1485: check required group is set etc when running failover test (patch ↵Gordon Sim2008-11-271-0/+24
| | | | | | from mgoulish@redhat.com). git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@721275 13f79535-47bb-0310-9956-ffa450edef68
* tests/failover_soak: run a cluster with clients, kill and restart cluster ↵Alan Conway2008-11-191-0/+13
members, verify client fail-over. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@719055 13f79535-47bb-0310-9956-ffa450edef68