summaryrefslogtreecommitdiff
path: root/qpid/cpp/src/tests/cluster.mk
Commit message (Collapse)AuthorAgeFilesLines
* Remove cluster (prerequisite for QPID-4178)Gordon Sim2012-08-101-102/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1371647 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Control running of cluster tests.Alan Conway2012-04-161-5/+3
| | | | | | | | | | | 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-3603: Minor improvements to HA tests, documentation and examples.Alan Conway2012-04-161-2/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1326755 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3586: Changes for QPID-3464 break cmake build in tar.gz distributionAndrew Stitcher2011-11-091-2/+5
| | | | | | | - The previous fix for this problem broke the autotools build, so remove the StoreStatus cluster test again from the autotools build. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1199811 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Install test executables and scripts.Alan Conway2011-11-081-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1199267 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3586: Changes for QPID-3464 break cmake build in tar.gz distributionAndrew Stitcher2011-11-071-8/+10
| | | | | | | | | | - Added in the new CMake files to EXTRA_DIST in the Makefile.am files so that they get built into the tarballs - Added some cluster test files back into the .../tests/cluster.mk file as they seem to have been dropped by mistake (and having them missing also breaks the cmake build in a similar way) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1198929 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: add cluster_tests.py to list of installed scripts.Alan Conway2011-02-151-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1071018 13f79535-47bb-0310-9956-ffa450edef68
* Move brokertest.py from qpid/python to qpid/cpp.Alan Conway2011-01-211-1/+2
| | | | | | | | | | brokertest.py is a framework for tests using the C++ broker, so it belongs in the cpp tree rather than the python tree. It is installed to libexec/qpid/tests/ so it can be used from an installation of qpid cpp. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1061933 13f79535-47bb-0310-9956-ffa450edef68
* Added cluster_test_logs.py to EXTRA_DIST for use by store tests.Alan Conway2011-01-111-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1057687 13f79535-47bb-0310-9956-ffa450edef68
* Include cluster scripts unconditionally in distribution.Alan Conway2010-11-111-27/+32
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1034008 13f79535-47bb-0310-9956-ffa450edef68
* Revert experimental cluster code, too close to 0.8 release.Alan Conway2010-10-271-1/+1
| | | | | | | | | Reverts revisions: r1023966 "Introduce broker::Cluster interface." r1024275 "Fix compile error: outline set/getCluster fucntions on Broker." r1027210 "New cluster: core framework and initial implementation of enqueue logic." git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1028055 13f79535-47bb-0310-9956-ffa450edef68
* Get rid of boost::regex in test code.Alan Conway2010-10-211-1/+1
| | | | | | | It was barely being used and it causes portability problems on older versions of boost. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1026103 13f79535-47bb-0310-9956-ffa450edef68
* Introduce broker::Cluster interface.Alan Conway2010-10-181-1/+1
| | | | | | | | | See cpp/src/qpid/cluster/new-cluster-design.txt and new-cluster-plan.txt. qpid/cpp/src/tests/BrokerClusterCalls.cpp is a unit test that verifies the broker makes the expected calls on broker::Cluster in various situations. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1023966 13f79535-47bb-0310-9956-ffa450edef68
* Cluster benchmark test script. Improvements to qpid-cpp-bencmhark.Alan Conway2010-10-041-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1004420 13f79535-47bb-0310-9956-ffa450edef68
* Add missing files to EXTRA_DIST.Alan Conway2010-09-301-2/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1003230 13f79535-47bb-0310-9956-ffa450edef68
* Add missing cluster test scripts to EXTRA_DIST.Alan Conway2010-09-301-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1003226 13f79535-47bb-0310-9956-ffa450edef68
* Scripts using rsync and ssh to assist cluster testing:Alan Conway2010-09-271-0/+3
| | | | | | | | | | - run a command on all hosts in a cluster. - copy files to all hosts in a cluster. - "make install" locally and copy install tree to cluster. - copy source tree to cluster and "make install" on each host. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1001888 13f79535-47bb-0310-9956-ffa450edef68
* Fix link error on fedora 13Alan Conway2010-07-061-3/+1
| | | | | | Removed duplicate .o files linked with cluster_test executable. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@960894 13f79535-47bb-0310-9956-ffa450edef68
* Re-eneable run_long_cluster_tests.Alan Conway2010-03-251-0/+1
| | | | | | | | | | Reduced duration to 2 minutes per test. Reduced load to avoid timeouts - Fewer concurrent clients on test_management. - Delay in ErrorGenerator for test_failover. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@927509 13f79535-47bb-0310-9956-ffa450edef68
* Disable run_long_cluster_tests from make check-long until failures are fixed.Alan Conway2010-03-251-1/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@927372 13f79535-47bb-0310-9956-ffa450edef68
* Support for restarting a persistent cluster.Alan Conway2009-11-241-1/+2
| | | | | | | | | | | Option --cluster-size=N: members wait for N members before recovering store. Stores marked as clean/dirty. Automatically recover from clean store on restart. Stores marked with UUID to detect errors. Not yet implemented: consistency checks, manual recovery from all dirty stores. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@883842 13f79535-47bb-0310-9956-ffa450edef68
* cluster::InitialStatusMap and unit tests, support for improved cluster join ↵Alan Conway2009-11-171-2/+3
| | | | | | protocol. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@881420 13f79535-47bb-0310-9956-ffa450edef68
* Moved brokertest.py to python directory.Alan Conway2009-11-101-2/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@834668 13f79535-47bb-0310-9956-ffa450edef68
* Add missing cluster_tests.fail file to distribution list.Gordon Sim2009-11-101-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@834399 13f79535-47bb-0310-9956-ffa450edef68
* Added message store recovery tests to cluster_tests.Alan Conway2009-11-091-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@834193 13f79535-47bb-0310-9956-ffa450edef68
* Clean up files left behind by tests in make clean.Alan Conway2009-11-041-0/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@832852 13f79535-47bb-0310-9956-ffa450edef68
* Add missing install rule for brokertest.pyAlan Conway2009-10-301-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@831411 13f79535-47bb-0310-9956-ffa450edef68
* Fix QPID-2086 - problem with read-credit.Alan Conway2009-10-011-1/+4
| | | | | | | Also cleaned up the cluster test scripts. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@820717 13f79535-47bb-0310-9956-ffa450edef68
* Add new test script to distribution list.Gordon Sim2009-08-111-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@803041 13f79535-47bb-0310-9956-ffa450edef68
* Watchdog feature to remove unresponsive cluster nodes.Alan Conway2009-08-101-33/+35
| | | | | | | | | | | | | | | | | In some intstances (e.g. while resolving an error) it's possible for a hung process to hang the entire cluster as they wait for its response. The cluster can handle terminated processes but hung processes present a problem. If the watchdog plugin is loaded and --watchdog-interval is set then the broker forks a child process that runs a very simple watchdog program, and starts a timer in the broker process to signal the watchdog every interval/2 seconds. The watchdog kills its parent if it does not receive a signal for interval seconds. This allows a stuck broker to be removed from the cluster so other cluster members can continue. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@802927 13f79535-47bb-0310-9956-ffa450edef68
* Added python long cluster test outline for long tests and soak tests. Also ↵Kim van der Riet2009-07-071-2/+5
| | | | | | added check for python tools before tests to stop make distcheck failures. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@791945 13f79535-47bb-0310-9956-ffa450edef68
* Some fixes to QPID-1879 so that clustering still works:Andrew Stitcher2009-06-011-3/+1
| | | | | | | | | Change client io threading to be initialised at first use Stop linking loadable modules with tests Add some sentinel values so that we can see what happened last git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@780855 13f79535-47bb-0310-9956-ffa450edef68
* Added installable python cluster tests that can be run from an external ↵Kim van der Riet2009-05-261-9/+37
| | | | | | store build/test environment and can test persistent clusters. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@778751 13f79535-47bb-0310-9956-ffa450edef68
* Fix regression: close shadow connections belonging to brokers that have left ↵Alan Conway2009-04-141-1/+1
| | | | | | the cluster. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@764783 13f79535-47bb-0310-9956-ffa450edef68
* Fix issues when cluster is run with persistence enabled.Alan Conway2009-04-111-2/+4
| | | | | | | | | | - 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
* QPID-1721: Fixes for replication between clusters when new members are addedGordon Sim2009-03-091-2/+3
| | | | | | | | | | * suppress event generation during node catch up * ensure sequence counters used for duplicate detection are synchronised in both primary and dr clusters when new members join * connect queue with the event manager within queue registry rather than adapter as the latter path is not used for catchup git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@751719 13f79535-47bb-0310-9956-ffa450edef68
* Added tests for federated links to and from a clusterGordon Sim2009-02-181-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@745486 13f79535-47bb-0310-9956-ffa450edef68
* Allow passing extra argv arguments to ClusterFixture.Alan Conway2009-02-121-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@743779 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1650 Mick Goulish: separte ClusterFixture from cluster_test.cpp for use ↵Alan Conway2009-02-061-2/+2
| | | | | | by other tests. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@741568 13f79535-47bb-0310-9956-ffa450edef68
* Run python tests against a single-member cluster in check-long.Alan Conway2009-01-291-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@738947 13f79535-47bb-0310-9956-ffa450edef68
* Added ASF license to makefilesGordon Sim2008-12-151-0/+18
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@726710 13f79535-47bb-0310-9956-ffa450edef68
* Optional cluster integration with cman quorum service.Alan Conway2008-11-181-5/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@718693 13f79535-47bb-0310-9956-ffa450edef68
* Clean up unused members/testsAlan Conway2008-09-191-1/+0
| | | | | | | | qpid/broker/SemanticState.h,.cpp,SessionState.h: removed unused members. tests/DumpClientTest.cpp: unused, remove. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@697075 13f79535-47bb-0310-9956-ffa450edef68
* Simplified cluster updates.Alan Conway2008-09-161-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@695696 13f79535-47bb-0310-9956-ffa450edef68
* Cluster member stalling, cluster map updates and unit tests.Alan Conway2008-09-151-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@695593 13f79535-47bb-0310-9956-ffa450edef68
* Added ClusterMap and test. Moved PollableCondition, PollableQueue to sys.Alan Conway2008-09-121-0/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@694758 13f79535-47bb-0310-9956-ffa450edef68
* Refactored c++ client library to allow multiple protocols to beAndrew Stitcher2008-09-111-1/+1
| | | | | | | | | | | | | | | used simultaneously: - Added in capability for client library plugins: Client library will load in plugin modules from the client library module directory on library load. - Add protocol option into the standard client command line options - Split plugin module load area into daemon and client; default daemon module directory is now <libdir>/qpid/daemon, default client module directory is <libdir>/qpid/client. - Changed names of plugins to leave out libqpid prefix git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@694113 13f79535-47bb-0310-9956-ffa450edef68
* Fix sporadic shutdown hang in clustered broker.Alan Conway2008-08-051-1/+1
| | | | | | | Add start|stop_cluster test scripts git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@682774 13f79535-47bb-0310-9956-ffa450edef68
* Cluster: shadow connections, fix lifecycle & valgrind issues.Alan Conway2008-07-171-3/+2
| | | | | | | | | - tests/ForkedBroker: improved broker forking, exec full qpidd. - Plugin::addFinalizer - more flexible way to shutdown plugins. - Reworked cluster extension points using boost::function. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@677471 13f79535-47bb-0310-9956-ffa450edef68
* Revert un-necessary Plugin complications. Better solution for plugin ↵Alan Conway2008-07-081-1/+1
| | | | | | extension points coming up... git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@674915 13f79535-47bb-0310-9956-ffa450edef68