summaryrefslogtreecommitdiff
path: root/qpid/cpp/src/tests
Commit message (Collapse)AuthorAgeFilesLines
* Verify stored cluster-id matches agreed cluster-id when joining a persistent ↵Alan Conway2009-11-243-25/+34
| | | | | | cluster. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@883910 13f79535-47bb-0310-9956-ffa450edef68
* Added flow control to failover_test in cluster_tests.py.Alan Conway2009-11-241-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@883909 13f79535-47bb-0310-9956-ffa450edef68
* Support for restarting a persistent cluster.Alan Conway2009-11-246-59/+241
| | | | | | | | | | | 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
* QPID-664: Allow session to be specified as transactional; add basic test of ↵Gordon Sim2009-11-231-0/+27
| | | | | | transaction implementation. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@883325 13f79535-47bb-0310-9956-ffa450edef68
* Revert "Added getStoreDir() to MessageStore"Alan Conway2009-11-201-2/+0
| | | | | | | | | | | This reverts revision 882218 which broke the Windows. It also assumes that a MessageStore has an associated directory, which is not the case for all stores. We need a portable way to associate extra state with a store. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@882623 13f79535-47bb-0310-9956-ffa450edef68
* Changes to hopefully address a sporadic test failure. Couldn't reproduce so ↵Alan Conway2009-11-201-8/+5
| | | | | | not sure. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@882598 13f79535-47bb-0310-9956-ffa450edef68
* Fix race in the test: wait for both brokers to be ready before killing one.Alan Conway2009-11-201-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@882587 13f79535-47bb-0310-9956-ffa450edef68
* Fix distcheck failure: don't try to run python tests if python not available.Alan Conway2009-11-201-3/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@882573 13f79535-47bb-0310-9956-ffa450edef68
* Added test_env.sh script to distributed file listGordon Sim2009-11-201-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@882433 13f79535-47bb-0310-9956-ffa450edef68
* Removed the Visual Studio solution/project files, as these are now generated ↵Stephen D. Huston2009-11-2018-7305/+3
| | | | | | by CMake. Added CMakeLists.txt files to Makefile.am, and all other needed support files so that the 'make dist' supplies all needed items for building a release kit on Windows. Fixes QPID-2134 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@882373 13f79535-47bb-0310-9956-ffa450edef68
* QPID-664: Bring address option names in to line with those used in python ↵Gordon Sim2009-11-191-11/+11
| | | | | | client. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@882348 13f79535-47bb-0310-9956-ffa450edef68
* QPID-664: Refine address resolution; if type not specified, default to queue ↵Gordon Sim2009-11-191-0/+2
| | | | | | as per python client. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@882323 13f79535-47bb-0310-9956-ffa450edef68
* Cleaned up test environment script.Alan Conway2009-11-192-18/+55
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@882306 13f79535-47bb-0310-9956-ffa450edef68
* Added getStoreDir() to MessageStoreAlan Conway2009-11-191-0/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@882218 13f79535-47bb-0310-9956-ffa450edef68
* Added cluster option --cluster-size.Alan Conway2009-11-183-16/+64
| | | | | | | | --cluster-size=N means that during start-up the cluster waits to have N members before accepting any clients. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@881839 13f79535-47bb-0310-9956-ffa450edef68
* Silence expected warning from cluster tests.Alan Conway2009-11-181-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@881807 13f79535-47bb-0310-9956-ffa450edef68
* Integrated InitialStatusMap into cluster code.Alan Conway2009-11-172-12/+39
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@881423 13f79535-47bb-0310-9956-ffa450edef68
* cluster::InitialStatusMap and unit tests, support for improved cluster join ↵Alan Conway2009-11-174-9/+156
| | | | | | protocol. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@881420 13f79535-47bb-0310-9956-ffa450edef68
* QPID-664: Add accessors for connection from session, and for session from ↵Gordon Sim2009-11-171-1/+14
| | | | | | sender/receiver. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@881395 13f79535-47bb-0310-9956-ffa450edef68
* QPID-664: Allow application to set session name and retrieve session using ↵Gordon Sim2009-11-171-1/+13
| | | | | | that name; close all sessions when connection is closed. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@881394 13f79535-47bb-0310-9956-ffa450edef68
* QPID-664: Cancel all senders and receivers on closing session; check ↵Gordon Sim2009-11-171-4/+0
| | | | | | queue/exchange exists before deleting. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@881237 13f79535-47bb-0310-9956-ffa450edef68
* QPID-664: Added getReceiver()/getSender() methods to session in new api.Gordon Sim2009-11-171-0/+29
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@881236 13f79535-47bb-0310-9956-ffa450edef68
* Use portable sleep callStephen D. Huston2009-11-161-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@880949 13f79535-47bb-0310-9956-ffa450edef68
* QPID-664: Remove start()/stop() methods from apiGordon Sim2009-11-161-6/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@880863 13f79535-47bb-0310-9956-ffa450edef68
* Added extra test for quoating in name or subject parts of address.Gordon Sim2009-11-161-0/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@880836 13f79535-47bb-0310-9956-ffa450edef68
* QPID-664: Introduce ';' as delimiter bewteen name (and optionally subject) ↵Gordon Sim2009-11-162-18/+18
| | | | | | and the options map in address syntax. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@880819 13f79535-47bb-0310-9956-ffa450edef68
* Merge branch 'next_receiver_changes' into trunkGordon Sim2009-11-161-57/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@880718 13f79535-47bb-0310-9956-ffa450edef68
* changed address syntax to permit more complex subjects, added escaping, ↵Rafael H. Schloming2009-11-131-2/+2
| | | | | | improved error reporting git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@835879 13f79535-47bb-0310-9956-ffa450edef68
* Make failover_soak and its children adjustable as to Michael Goulish2009-11-135-101/+200
| | | | | | | | | | | | | | | | | | 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
* Made cluster_tests.py ClusterTests.test_failover configurable to run for any ↵Alan Conway2009-11-121-20/+9
| | | | | | | | length of time. Also incorporated error generators to give a good stress test. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@835547 13f79535-47bb-0310-9956-ffa450edef68
* Merge branch 'next_receiver_changes' into trunkGordon Sim2009-11-121-0/+22
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@835323 13f79535-47bb-0310-9956-ffa450edef68
* Added full SASL authentication and security layer for the Python client.Ted Ross2009-11-111-5/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@834975 13f79535-47bb-0310-9956-ffa450edef68
* Fix compilation error on some platformsGordon Sim2009-11-111-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@834899 13f79535-47bb-0310-9956-ffa450edef68
* Added support for address parsing, create/assert/delete policiesGordon Sim2009-11-113-11/+386
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@834869 13f79535-47bb-0310-9956-ffa450edef68
* Moved brokertest.py to python directory.Alan Conway2009-11-103-397/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@834668 13f79535-47bb-0310-9956-ffa450edef68
* Fixed test_failover, added ErrorGenerator with test.Alan Conway2009-11-104-53/+119
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@834662 13f79535-47bb-0310-9956-ffa450edef68
* Also remove liner search from seek() & add testsCarl C. Trieloff2009-11-101-0/+52
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@834607 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-095-35/+82
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@834193 13f79535-47bb-0310-9956-ffa450edef68
* remove looping for position search and replace with stl algorithms for ↵Carl C. Trieloff2009-11-091-1/+2
| | | | | | better performance git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@834172 13f79535-47bb-0310-9956-ffa450edef68
* Filled out process management in python brokertest framework.Alan Conway2009-11-093-510/+233
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@834124 13f79535-47bb-0310-9956-ffa450edef68
* Clean up files left behind by tests in make clean.Alan Conway2009-11-042-1/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@832852 13f79535-47bb-0310-9956-ffa450edef68
* Fix leak in SASL code, enable cluster ACL test.Alan Conway2009-11-021-8/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@832134 13f79535-47bb-0310-9956-ffa450edef68
* Remove incorrect import.Alan Conway2009-11-021-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@832085 13f79535-47bb-0310-9956-ffa450edef68
* Minor fix for testlib.py cluster testing scriptKim van der Riet2009-11-021-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@832008 13f79535-47bb-0310-9956-ffa450edef68
* Changed ssl_test to use 127.0.0.1 instead of hostname and to regenerate ↵Gordon Sim2009-11-021-8/+19
| | | | | | certs every time (to avoid stale certs). git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@831846 13f79535-47bb-0310-9956-ffa450edef68
* Fix memory leak in testCoincidentErrors due to un-joined connector thread.Alan Conway2009-10-302-2/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@831446 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
* QPID-2181 - Alternate exchange on queue is not visible in management toolsTed Ross2009-10-301-0/+14
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@831351 13f79535-47bb-0310-9956-ffa450edef68
* Python framework for tests that start multiple brokers.Alan Conway2009-10-303-5/+252
| | | | | | | | | | | | This is intended to become a general framework for python scripting tests that start multiple brokers and executable clients, e.g. cluster and federation tests. This framework is intended to replace testlib.py once there is equivalent test coverage from new-style tests. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@831350 13f79535-47bb-0310-9956-ffa450edef68