summaryrefslogtreecommitdiff
path: root/qpid/cpp/src/tests
Commit message (Collapse)AuthorAgeFilesLines
* Fix to r1028346: no point in throwing exception after queue has already been ↵Gordon Sim2010-11-101-0/+18
| | | | | | created, so just log error and revert to default (do this for floating point values also) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1033585 13f79535-47bb-0310-9956-ffa450edef68
* Added --receive-rate to qpid-recieve to allow simulation of a slow receiver.Alan Conway2010-11-092-3/+22
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1033264 13f79535-47bb-0310-9956-ffa450edef68
* Fix typo in help message.Stephen D. Huston2010-11-041-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1031345 13f79535-47bb-0310-9956-ffa450edef68
* When running store tests, pass the store type to the script. Also added test ↵Stephen D. Huston2010-11-041-1/+4
| | | | | | runs for the CLFS store. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1031323 13f79535-47bb-0310-9956-ffa450edef68
* 1. Enable the second set of tests, now that brokertest.py is checked in and ↵Stephen D. Huston2010-11-041-17/+47
| | | | | | | | running. This allows the tests that require a broker restart to be executed. 2. Make the script accept a command line argument to say which store to run the tests against. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1031319 13f79535-47bb-0310-9956-ffa450edef68
* qpid-cpp-benchmark: allow extra arguments to qpid-send/receive, fix ↵Alan Conway2010-11-041-2/+8
| | | | | | exception error. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1031162 13f79535-47bb-0310-9956-ffa450edef68
* Remove spurious comment.Michael Goulish2010-11-021-3/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1030180 13f79535-47bb-0310-9956-ffa450edef68
* add ASF licence to various files in the cpp treeRobert Gemmell2010-10-311-0/+19
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1029521 13f79535-47bb-0310-9956-ffa450edef68
* Prevent sasl_fed from blowing up in a distro, or "make distcheck",Michael Goulish2010-10-291-8/+15
| | | | | | | by bailing out if the python tools that it needs are absent. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1028878 13f79535-47bb-0310-9956-ffa450edef68
* Corrects AddressParser to use typed simple values.Jonathan Robie2010-10-291-8/+15
| | | | | | | | | | Adds Variant::fromString(). Resolves QPID-2896 and QPID-2908. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1028860 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2916: throw an exception when a data value cannot be encoded correctly ↵Kenneth Anthony Giusti2010-10-283-4/+41
| | | | | | as its type. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1028501 13f79535-47bb-0310-9956-ffa450edef68
* Clarify this output comment a little.Michael Goulish2010-10-281-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1028250 13f79535-47bb-0310-9956-ffa450edef68
* Add a small executable that prints out the sasl version number in integer form.Michael Goulish2010-10-283-3/+65
| | | | | | | Use it in the sasl_fed test to determine whether that test can run. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1028180 13f79535-47bb-0310-9956-ffa450edef68
* Fix make distcheck error: added sasl_fed to EXTRA_DIST.Alan Conway2010-10-272-5/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1028056 13f79535-47bb-0310-9956-ffa450edef68
* Revert experimental cluster code, too close to 0.8 release.Alan Conway2010-10-276-506/+3
| | | | | | | | | 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
* Added another missing licenseGordon Sim2010-10-271-0/+19
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1027880 13f79535-47bb-0310-9956-ffa450edef68
* Add missing Apache licences to cluster files.Alan Conway2010-10-263-0/+55
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1027749 13f79535-47bb-0310-9956-ffa450edef68
* This code's purpose was only to print out the sasl version into the logsMichael Goulish2010-10-261-9/+23
| | | | | | | | | | so that I could grep for it in the sasl_fed test. But it is breaking the windows build. So I am backing it out, and temporarily disabling the sasl_fed test until I can implement something a little less grotesque. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1027594 13f79535-47bb-0310-9956-ffa450edef68
* Fix bug in qpid-cpp-benchmark.Alan Conway2010-10-251-2/+4
| | | | | | | | | Symptom was exit with: File "/home/remote/aconway/qpid/qpid/cpp/src/tests/qpid-cpp-benchmark", line 172, in wait if (r.poll()): raise "Receiver error: %s"%(wait_for_output(r)) NameError: global name 'wait_for_output' is not defined git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1027266 13f79535-47bb-0310-9956-ffa450edef68
* Changes to make it work in vpath build!Michael Goulish2010-10-251-19/+15
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1027243 13f79535-47bb-0310-9956-ffa450edef68
* New cluster: core framework and initial implementation of enqueue logic.Alan Conway2010-10-254-24/+93
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1027210 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2897: modify TopicExchange for better performance with respect to large ↵Kenneth Anthony Giusti2010-10-241-40/+319
| | | | | | number of bindings. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1026715 13f79535-47bb-0310-9956-ffa450edef68
* Test module to run recovery-oriented store tests.Stephen D. Huston2010-10-221-0/+197
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1026501 13f79535-47bb-0310-9956-ffa450edef68
* Fix this test to parse the sasl version number out of the new logging ↵Michael Goulish2010-10-221-22/+13
| | | | | | statement printed by broker #2 -- and exit if the version number is too low to support redirection of the sasl database file. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1026233 13f79535-47bb-0310-9956-ffa450edef68
* Get rid of boost::regex in test code.Alan Conway2010-10-216-26/+5
| | | | | | | 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
* get rid of BOOST_REGEXMichael Goulish2010-10-211-2/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1026096 13f79535-47bb-0310-9956-ffa450edef68
* Adds support for federation in the XML exchange.Jonathan Robie2010-10-202-9/+176
| | | | | | | | | Resolves QPID-2348 for the XML Exchange. Also made some changes to the file structure for fedop constants. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1025780 13f79535-47bb-0310-9956-ffa450edef68
* Add matching fclose for fdopen in ForkedBroker.Alan Conway2010-10-201-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1025587 13f79535-47bb-0310-9956-ffa450edef68
* SASLizing Interbroker LinksMichael Goulish2010-10-202-0/+153
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ------------------------------------------------------------- 1. Brokers already knew how to handle the server side of SASLized links, but not the client side. So we promoted the client-side SASL code from the client library to the common library so that the broker could also use it. This affected SaslFactory.{h,cpp} and Sasl.h TODO -- can the server-side and client-side code be unified here? 2. Some of the SASL verbs in broker/ConnectionHandler.cpp are expanded: start, secure, tune. 3. broker/SecureConnection is altered to get the client-broker and the server-broker to agree on when the security layer should be inserted. 4. the python tool qpid-route is modified so that, in the "route add" command, you can specify the security mechanism for SASL to use. TODO -- should we also pass in {min,max}SSF ? 5. Changes in broker/LinkRegistry to allow the information input by qpid-route to be passed up to where it is needed. 6. A bash script test run by "make check" that creates a SASLized federation link and sends some messages down it. TODO - write a python unit test instead of a bash script. I think I uncovered a bug in the python code when I tried. 7. NOTE - testing for this feature does not work with versions of SASL earlier than 2.1.22, becuase I can't tell SASL to use a SASL database file in a nonstandard location. The test is disabled for earlier versions. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1024541 13f79535-47bb-0310-9956-ffa450edef68
* Fix compile error in BrokerClusterCalls test, signed/unsigned comparison.Alan Conway2010-10-191-5/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1024279 13f79535-47bb-0310-9956-ffa450edef68
* Introduce broker::Cluster interface.Alan Conway2010-10-183-2/+438
| | | | | | | | | 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
* Code cleanup in broker directory.Alan Conway2010-10-142-0/+2
| | | | | | | | - Removed un-necessary #includes for broker/Queue.h - Removed "using std::string" in header files. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1022679 13f79535-47bb-0310-9956-ffa450edef68
* Test client to measure cluster lag: greater delays in responses from some ↵Alan Conway2010-10-132-9/+99
| | | | | | | | | brokers. Note yet incorporated into an automated test, but this is a useful stand-alone test client. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1022279 13f79535-47bb-0310-9956-ffa450edef68
* Registers the amq.failover exchange in the management exchange.Jonathan Robie2010-10-081-2/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1005908 13f79535-47bb-0310-9956-ffa450edef68
* Cluster benchmark test script. Improvements to qpid-cpp-bencmhark.Alan Conway2010-10-043-14/+68
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1004420 13f79535-47bb-0310-9956-ffa450edef68
* Allows browsing of exclusive queues held by another session. Jonathan Robie2010-10-041-0/+19
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1004357 13f79535-47bb-0310-9956-ffa450edef68
* Fixes two bugs for ring queue policies that involve size. Jonathan Robie2010-10-011-2/+81
| | | | | | | | | | | | - When messages vary in size, now correctly displaces enough smaller messages to make room for the new message. - When a message is larger than maximum queue size, now correctly rejects the message. Resolves JIRA QPID-2338 (https://issues.apache.org/jira/browse/QPID-2338). git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1003531 13f79535-47bb-0310-9956-ffa450edef68
* Improvements to output & message distribution for qpid-cpp-benchmark.Alan Conway2010-09-304-6/+11
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1003231 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
* qpid-test-cluster: script to start a multi-host test cluster.Alan Conway2010-09-303-1/+97
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1003229 13f79535-47bb-0310-9956-ffa450edef68
* Extending qpid-cpp-benchmark for cluster testingAlan Conway2010-09-302-42/+74
| | | | | | | | - multiple --broker args have senders/receivers connect to different cluster nodes. - multiple --client-host args start clients on different hosts via ssh. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1003228 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-275-0/+188
| | | | | | | | | | - 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
* Added install_env.sh to set environment variables to use an install prefix.Alan Conway2010-09-273-7/+34
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1001887 13f79535-47bb-0310-9956-ffa450edef68
* Added type casts to literal numbers in cpp/src/tests/Qmf2.cpp.Ted Ross2010-09-221-7/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@999897 13f79535-47bb-0310-9956-ffa450edef68
* QMFv2 Additions:Ted Ross2010-09-212-2/+324
| | | | | | | | | | | | - QMFv2 schema encoding completed - Schema queries handled by the agent and initiated by the console by user request - Full query support with predicates evaluated on the agent (regex not yet implemented) - Agent filtering in the console - Agent aging in the console - Unit tests git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@999662 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2875: wait for federation configuration to settle before testing route ↵Kenneth Anthony Giusti2010-09-211-21/+78
| | | | | | propagation. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@999433 13f79535-47bb-0310-9956-ffa450edef68
* Adding cast to list and map size comparisons to avoid signed/unsigned ↵Jonathan Robie2010-09-161-2/+2
| | | | | | | | | comparison: BOOST_CHECK_EQUAL(list.size(), (size_t) 0); git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@997846 13f79535-47bb-0310-9956-ffa450edef68
* Fixes parsing problem with empty lists ('[]') in addresses, which previously ↵Jonathan Robie2010-09-161-0/+18
| | | | | | raised an exception and leaked the memory associated with the AddressImpl. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@997771 13f79535-47bb-0310-9956-ffa450edef68
* Check exit status of qpid-route, avoid hung test if it fails.Alan Conway2010-08-271-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@990157 13f79535-47bb-0310-9956-ffa450edef68