summaryrefslogtreecommitdiff
path: root/cpp/src/tests
Commit message (Collapse)AuthorAgeFilesLines
* qpid_cpp_benchmark: added --reliable optionAlan Conway2010-04-131-9/+20
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@933720 13f79535-47bb-0310-9956-ffa450edef68
* qpid_cpp_benchmark: print send/receive stats side-by-sideAlan Conway2010-04-132-19/+29
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@933719 13f79535-47bb-0310-9956-ffa450edef68
* Make qpid_send/qpid_receive output more spreadsheet-friendly.Alan Conway2010-04-134-21/+24
| | | | | | | | - output is tab separated - --report-header=no suppresses headers git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@933718 13f79535-47bb-0310-9956-ffa450edef68
* Pick up more of the existing test cases from qpid/testsStephen D. Huston2010-04-121-2/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@933439 13f79535-47bb-0310-9956-ffa450edef68
* Fix testagent.mk to generate code conditionally same as ../Makefile.amAlan Conway2010-04-121-2/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@933393 13f79535-47bb-0310-9956-ffa450edef68
* qpid_cpp_benchmark waits for receivers to be ready before starting senders.Alan Conway2010-04-122-14/+29
| | | | | | | | This avoids exaggerated latency numbers due to messages siting on the queue while receivers are connecting and subscribing. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@933333 13f79535-47bb-0310-9956-ffa450edef68
* QPID-664: changed option verifier to use constants rather than duplicating ↵Gordon Sim2010-04-121-0/+7
| | | | | | string literals; added a test to make sure all valid options are allowed and illegal ones are not git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@933330 13f79535-47bb-0310-9956-ffa450edef68
* Fix code-generation dependencies for tests/testagent.Alan Conway2010-04-121-2/+2
| | | | | | | Previously was not re-generating code for codegen changes. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@933224 13f79535-47bb-0310-9956-ffa450edef68
* Added --ack-frequency to qpid_cpp_benchmark.Alan Conway2010-04-121-0/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@933223 13f79535-47bb-0310-9956-ffa450edef68
* 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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@921517 13f79535-47bb-0310-9956-ffa450edef68