summaryrefslogtreecommitdiff
path: root/qpid/cpp/src/tests
Commit message (Collapse)AuthorAgeFilesLines
* QPID-2487: add federation tests to verify bugfix.Kenneth Anthony Giusti2010-04-092-3/+560
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@932607 13f79535-47bb-0310-9956-ffa450edef68
* Rationalize message count and message content options in new API ↵Alan Conway2010-04-093-25/+53
| | | | | | send/receive/benchmark. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@932580 13f79535-47bb-0310-9956-ffa450edef68
* QPID-664: changed pending to unsettled; added available to sender; minor ↵Gordon Sim2010-04-091-9/+9
| | | | | | update to address doc git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@932490 13f79535-47bb-0310-9956-ffa450edef68
* Fix --send-rate option in qpid_cpp_benchmark.Alan Conway2010-04-091-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@932489 13f79535-47bb-0310-9956-ffa450edef68
* Script to run performance benchmarks using qpid_send and qpid_receive.Alan Conway2010-04-092-16/+129
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@932479 13f79535-47bb-0310-9956-ffa450edef68
* QPID-664: changed connect() back to open(),removed detach(),defined new ↵Gordon Sim2010-04-094-10/+10
| | | | | | exception hierarchy, added ability to re-use reconnect/replay logic for resource-limit-exceeded errors git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@932451 13f79535-47bb-0310-9956-ffa450edef68
* This adds test cases for QPID-2488Rajith Muditha Attapattu2010-04-081-0/+75
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@932152 13f79535-47bb-0310-9956-ffa450edef68
* Renamed qpid_recv to qpid_receive.Alan Conway2010-04-083-9/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@931991 13f79535-47bb-0310-9956-ffa450edef68
* QPID-664: changed open() to connect(), moved url parameter to constructor, ↵Gordon Sim2010-04-084-8/+8
| | | | | | added detach() and isConnected() git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@931852 13f79535-47bb-0310-9956-ffa450edef68
* Changed the recent AbsTime::Epoch code to conform better to the previouslyAndrew Stitcher2010-04-082-2/+2
| | | | | | | | existing code. Fixed AbsTime to compile on Windows again. Removed unused and seemingly extraneous serialize() code from AbsTime. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@931782 13f79535-47bb-0310-9956-ffa450edef68
* Add Statistics.h/.cpp to Makefile.am and CMakeLists.txt.Alan Conway2010-04-072-2/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@931692 13f79535-47bb-0310-9956-ffa450edef68
* Fix ambiguous --report option in qpid_send, qpid_recv.Alan Conway2010-04-072-9/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@931681 13f79535-47bb-0310-9956-ffa450edef68
* Fix compiler warnings "virtual function but no virtual destructor".Alan Conway2010-04-073-0/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@931660 13f79535-47bb-0310-9956-ffa450edef68
* Extend qpid_send, qpid_recv to measure throughput and latency.Alan Conway2010-04-075-19/+317
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@931657 13f79535-47bb-0310-9956-ffa450edef68
* QPID-664: added method to release messagesGordon Sim2010-04-061-0/+15
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@931275 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2482: prevent duplication of messages that match multiple binding keys ↵Kenneth Anthony Giusti2010-04-061-0/+51
| | | | | | on a topic exchange git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@931257 13f79535-47bb-0310-9956-ffa450edef68
* QPID-664: added param to control synchronous send and acknowledgeGordon Sim2010-04-061-0/+12
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@931170 13f79535-47bb-0310-9956-ffa450edef68
* Update cluster store status with a single atomic write() operation.Alan Conway2010-04-014-30/+45
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@930055 13f79535-47bb-0310-9956-ffa450edef68
* Adapted test to an API change in qmf.console.Ted Ross2010-04-011-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@929790 13f79535-47bb-0310-9956-ffa450edef68
* Merged the changes from the qmf-devel0.7a branch back to the trunk.Ted Ross2010-03-312-13/+15
| | | | | | | | | | | | | | | | | This is a checkpoint along the QMFv2 development path. This update introduces portions of QMFv2 into the code: - The C++ agent (qpid/agent) uses QMFv2 for data and method transfer o The APIs no longer use qpid::framing::* o Consequently, boost is no longer referenced from the API headers. o Agents and Objects are now referenced by strings, not numbers. o Schema transfer still uses the QMFv1 format. - The broker-resident agent can use QMFv1 or QMFv2 based on the command line options. It defaults to QMFv1 for compatibility. - The pure-python QMF console (qmf.console) can concurrently interact with both QMFv1 and QMFv2 agents. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@929716 13f79535-47bb-0310-9956-ffa450edef68
* Removed config-sequence test from cluster_tests.py, functionality was removed.Alan Conway2010-03-311-23/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@929685 13f79535-47bb-0310-9956-ffa450edef68
* Fix error in cluster_tests.py test_join_sub_sizeAlan Conway2010-03-311-1/+3
| | | | | | | Was not setting cluster-size so not testing the intended behaviour. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@929660 13f79535-47bb-0310-9956-ffa450edef68
* Cluster: remove un-necessary code for config-seq.Alan Conway2010-03-311-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@929616 13f79535-47bb-0310-9956-ffa450edef68
* QPID-664: made changes suggested by Alan Conway, also moved 0-10 map/list ↵Gordon Sim2010-03-315-50/+47
| | | | | | codecs to common lib git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@929606 13f79535-47bb-0310-9956-ffa450edef68
* Fix hanging failover_soak test.Alan Conway2010-03-301-2/+2
| | | | | | | | | Explictly turn off PollableQueue bypass mode during initialize. Implicitly turning it off in PollableQueue::start() led to incorrectly turning off bypass in a PRE_INIT client when an offer was processed. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@929276 13f79535-47bb-0310-9956-ffa450edef68
* Fix intermittent failure of cluster_tests.py test_last_store_clean.Alan Conway2010-03-301-1/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@929272 13f79535-47bb-0310-9956-ffa450edef68
* Rename Duration::INFINITE to Duration::FOREVER; resolves QPID-2475.Stephen D. Huston2010-03-301-1/+1
| | | | | | Added missing QPID_CLIENT_EXTERN where needed in Duration class to build on Windows. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@929240 13f79535-47bb-0310-9956-ffa450edef68
* QPID-664: renamed headers as properties (to match python); added priorityGordon Sim2010-03-295-13/+13
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@928878 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2406: a more explicit solution for durations in the messaging apiGordon Sim2010-03-293-22/+22
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@928855 13f79535-47bb-0310-9956-ffa450edef68
* QPID-664: move Variant and Uuid from messaging to types namespaceGordon Sim2010-03-297-11/+16
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@928814 13f79535-47bb-0310-9956-ffa450edef68
* Fix race condition causing deadlock in cluster_tests.py, failover_test.Alan Conway2010-03-261-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@927847 13f79535-47bb-0310-9956-ffa450edef68
* Re-eneable run_long_cluster_tests.Alan Conway2010-03-253-20/+20
| | | | | | | | | | 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
* Fix resource leaks in cluster_tests, add 5 minute test run to make check-long.Alan Conway2010-03-242-7/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@927154 13f79535-47bb-0310-9956-ffa450edef68
* QPID-664: Updates to address options to stay in-line with python client ↵Gordon Sim2010-03-241-9/+9
| | | | | | changes in r926604 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@927144 13f79535-47bb-0310-9956-ffa450edef68
* QPID-664: Prevent dangling pointers when receiver/sender handles stay in ↵Gordon Sim2010-03-193-3/+6
| | | | | | scope after connection/session handles goes out of scope. This change require connections to be closed explicitly to avoid leaking memory. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@925332 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2452: Fixed control over the encoding used when sending a string valued ↵Gordon Sim2010-03-182-0/+25
| | | | | | variant. The user is currently responsible for correctly setting any encoding (e.g. utf8). If none is specified it will be transfered as an amqp0-10 vbin. Fixed bug preventing correct assignment of encoding in variants. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@924939 13f79535-47bb-0310-9956-ffa450edef68
* Work-around for race condition in the IO layer.Alan Conway2010-03-151-2/+2
| | | | | | | | | | | | Added a 100ms sleep in UpdateClient between calling Connection::close() and destroying the Connection object. This appears to work around the race condition described in https://bugzilla.redhat.com/show_bug.cgi?id=568831. which was causing brokers to seg fault sporadically at the end of giving an update. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@923414 13f79535-47bb-0310-9956-ffa450edef68
* New cluster member pushes store when joining an active cluster.Alan Conway2010-03-122-29/+57
| | | | | | | | | | | | | | | | | | | Previously a broker with a clean store would not be able to join an active cluster because the shtudown-id did not match. This commit ensures that when a broker joins an active cluster, it always pushes its store regardless of status. Clean/dirty status is only compared when forming an initial cluster. This change required splitting initialization into two phases: PRE_INIT: occurs in the Cluster ctor during early-initialize. This phase determines whether or not to push the store. INIT: occurs after Cluster::initialize and does the remaining initialization chores. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@922412 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2382: Created separate utility class for handling updates from failover ↵Gordon Sim2010-03-113-13/+40
| | | | | | exchange; cleaned up reconnection options git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@921971 13f79535-47bb-0310-9956-ffa450edef68
* Remove non-existent directory from PATH.Alan Conway2010-03-101-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@921517 13f79535-47bb-0310-9956-ffa450edef68
* Fix build dependency problem with tests/testagent.Alan Conway2010-03-091-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@921079 13f79535-47bb-0310-9956-ffa450edef68
* Remove tests/testagent sub-directory, build testagent in the tests directory.Alan Conway2010-03-095-55/+52
| | | | | | | Resolves build-order issues, more consistent with the rest of the test builds. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@920991 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2436: Fix cluster update of remote agents.Alan Conway2010-03-084-13/+20
| | | | | | | | | The v2key of cluster agents was not being passed as part of a cluster update. This meant they were not being associated with the correct shadow connections on the updatee. This caused inconsistencies that shut down the new broker. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@920414 13f79535-47bb-0310-9956-ffa450edef68
* Minor cleanup: removed unused parameter of initial-status in cluster.xml.Alan Conway2010-03-051-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@919662 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2434: add timestamp files to CLEANFILES listKenneth Anthony Giusti2010-03-051-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@919518 13f79535-47bb-0310-9956-ffa450edef68
* Fix to run topictest correctly on Windows.Stephen D. Huston2010-03-052-10/+13
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@919240 13f79535-47bb-0310-9956-ffa450edef68
* Added testagent/schema.xml to EXTRA_DIST, was causing make distcheck to fail.Alan Conway2010-03-041-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@918986 13f79535-47bb-0310-9956-ffa450edef68
* Increase test_watchdog interval to avoid spurious test failures.Alan Conway2010-03-031-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@918708 13f79535-47bb-0310-9956-ffa450edef68
* Extended cluster_tests.test_management exposes a bug.Alan Conway2010-03-032-23/+75
| | | | | | | | | - kill and start brokers with clients running. - added qpid-stat -b and testagent clients - disabled in src/tests/cluster_tests.fail till bug is fixed. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@918674 13f79535-47bb-0310-9956-ffa450edef68