summaryrefslogtreecommitdiff
path: root/qpid/cpp/src/tests
Commit message (Collapse)AuthorAgeFilesLines
* QPID-3603: HA support for stand-alone replication.Alan Conway2012-02-291-33/+137
| | | | | | | | - New management method HaBroker.replicate to enable replication. - qpid-ha tool can enable replication of queues. - qpid-config tool can create queues with replication enabled. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1295339 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3832: Restore transport option for connection (as default for urls that ↵Gordon Sim2012-02-291-0/+6
| | | | | | don't specify one explicitly) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1295172 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3871 - Added --mgmt-publish switch to the C++ brokerTed Ross2012-02-291-2/+2
| | | | | | | | | Also in this commit: - Fixed a problem with an unused argument in qpid-stat - Cleaned up the recurring timer code in ManagementAgent git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1295075 13f79535-47bb-0310-9956-ffa450edef68
* Forgot to add this when checking in changes for QPID-3870.Stephen D. Huston2012-02-271-0/+78
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1294284 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Improved command-based qpid-ha tool and ha config option names.Alan Conway2012-02-242-9/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1293397 13f79535-47bb-0310-9956-ffa450edef68
* Generate a correct test_env.ps1 for Windows test runs; modify the ↵Stephen D. Huston2012-02-247-21/+19
| | | | | | python-invoking test scripts to pick up proper settings from test_env.ps1. Also improved run_test.ps1 to not look for an exe whose proper path has been supplied already; allowed ha_test to try to execute. Fixes QPID-3870 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1293340 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Fix broken distcheck - ha_tests.py not being skipped.Alan Conway2012-02-233-5/+13
| | | | | | | ha_tests.py depends on the python tools directory being available. Modified it to skip the test if it is not (e.g. when running make distcheck) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1292937 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2894 - Added ACL stats to qpid-stat and a reload-file action to ↵Ted Ross2012-02-231-29/+33
| | | | | | | | | qpid-config. Ported the ACL tests to use the faster API. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1292880 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: HA logging improvements.Alan Conway2012-02-221-1/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1292445 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Test HA replication of LVQ, priority and ring queues.Alan Conway2012-02-221-4/+122
| | | | | | Also fix one bug causing problems with LVQ replication. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1292444 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3851 - Unified common CLI options for qpid-config and qpid-stat.Ted Ross2012-02-2214-143/+113
| | | | | | | | | | | | | | | | | | | | Also in this commit: qpid-config was converted to use the messaging-based qmf2 library. It no longer has a dependency on the qmf library. The CLI tests were also ported to the faster library. CLI test time prior to this commit: 2 minutes 12 seconds CLI test time after this commit: 12.5 seconds Other items in qpid-config and qpid-stat: - The deprecated LVQ options (lqv, lqv-no-browse) were removed from qpid-config. - A new option, --lvq-key, was added to qpid-config to support the new LVQ configuration. The docs and tests were updated to match. - qpid-stat was updated so that 'qpid-stat -q <queue-name>' prints full details from the specified queue. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1292388 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Add HA tests to automake and cmake.Alan Conway2012-02-172-1/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1245706 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Merge new HA foundations.Alan Conway2012-02-1710-81/+475
| | | | | | | Merged from qpid-3603-7. This is basic support for the new HA approach. For information & limitations see qpid/cpp/design_docs/new-ha-design.txt. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1245587 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3787 - Fixed shutdown crash in SslPlugin, Fixed problem with sasl_mux test.Ted Ross2012-01-271-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1236864 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Merge SemanticState unsubscribe with cancel.Alan Conway2012-01-181-0/+1
| | | | | | Simplyfig the code, there is no need for these to be separate functions. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1233087 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Replace public broker::Consumer::position variable with get/set ↵Alan Conway2012-01-181-1/+1
| | | | | | | | function pair. Public member variables are not good sytle. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1233080 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3630: remove deprecated rate limiting featureKenneth Anthony Giusti2012-01-133-73/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1231221 13f79535-47bb-0310-9956-ffa450edef68
* Run the needed python setup to get the python compiled and ready for the ↵Stephen D. Huston2012-01-061-37/+9
| | | | | | test runs; fixes QPID-3729 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1228493 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3492: Fix quoted values as well as unquoted values; added a test caseGordon Sim2012-01-031-0/+21
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1226931 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3711: fix federation test scriptKenneth Anthony Giusti2011-12-251-7/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1224661 13f79535-47bb-0310-9956-ffa450edef68
* Adjust topictest.ps1 to use correct executable names (they changed some time ↵Stephen D. Huston2011-12-222-4/+4
| | | | | | ago); extend broker start timeout on brokertest.ps1 (Windows broker now takes 19 sec to start?!). NO-JIRA git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1222330 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3652: Fix cluster authentication.Alan Conway2011-12-064-26/+52
| | | | | | | | | | | | | | | | | | | Only allow brokers that authenticate as the cluster-username to join a cluster. New broker first connects to a cluster broker authenticates as the cluster-username and sends its CPG member ID to the qpid.cluster-credentials exchange. The cluster broker that subsequently acts as updater verifies that the credentials are valid before connecting to give the update. NOTE 1: If you are using an ACL, the cluster-username must be allowed to publish to the qpid.cluster-credentials exchange. E.g. in your ACL file: acl allow foo@QPID publish exchange name=qpid.cluster-credentials NOTE 2: This changes the cluster initialization protocol, you will need to restart the cluster with all new version brokers. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1210989 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3629: Changed management of credit windowGordon Sim2011-11-231-0/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1205467 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA - Fixed the handling of functions with ignored return values.Ted Ross2011-11-222-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1205183 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3579: Moved qpid-analyze-trace to cpp/src/tools to address concerns ↵Kim van der Riet2011-11-171-0/+258
| | | | | | about tool placement, code maturity etc. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1203384 13f79535-47bb-0310-9956-ffa450edef68
* NO_JIRA: Rolled back accidental checkin of experimental code in r.1202755 ↵Kim van der Riet2011-11-161-9/+6
| | | | | | (checkin from wrong dir) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1202760 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3623, QPID-3624: Fixed transaction accounting, also replaced argparse ↵Kim van der Riet2011-11-161-6/+9
| | | | | | module with optparse module for use on earlier versions of Python than 2.7. Some minor code tidy-up was also included. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1202755 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Added some error checking to ssl testAndrew Stitcher2011-11-151-4/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1202310 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-083-19/+19
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1199267 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: add --no-delete option to qpid-cpp-benchmark and ↵Alan Conway2011-11-082-10/+14
| | | | | | | | | qpid-cluster-benchmark. Don't delete test queues between runs so that pre-configured queues can be used by the test. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1199266 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Improvements to benchmark scripts.Alan Conway2011-11-082-63/+113
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1199265 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
* QPID-3564: enhance message group generator to allow queue fill/drain testsKenneth Anthony Giusti2011-11-043-31/+59
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1197686 13f79535-47bb-0310-9956-ffa450edef68
* Give the broker more time to start; has been timing out lately. NO-JIRA.Stephen D. Huston2011-11-022-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1196667 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3572: Make dependance on bashisms explicitGordon Sim2011-11-0231-33/+33
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1196600 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3573: handle case where /home/gordon does not existGordon Sim2011-11-021-1/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1196597 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3514: Allow SSL and non SSL connections on the same port.Andrew Stitcher2011-11-011-29/+80
| | | | | | | | | - Fixes to allow tcp to report the correct port so that the correct name gets used for the pidfile - Improved the ssl tests: refactoring them, and adding a new test for broker chosen ssl muxed ports git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1196319 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3346: fix tests to detect if tools are present.Kenneth Anthony Giusti2011-10-212-0/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1187397 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3514: Allow SSL and non-SSL connections on the same port. Applied patch ↵Gordon Sim2011-10-201-10/+20
| | | | | | from Zane Bitter and added simple test case. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1187011 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3550: qpid-perftest fails if --npubs < --nsubs and --iterations > 0. ↵Kim van der Riet2011-10-191-5/+5
| | | | | | Fixed the number of next messages sent to the sub_iteration queue. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1186215 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA - Fixed a couple of problems with "make dist".Ted Ross2011-10-171-4/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1185293 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA - Removed tabs from sourceTed Ross2011-10-141-24/+24
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1183453 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3540 Typecasting and alignment requirements for various platformsCharles E. Rolke2011-10-141-1/+3
| | | | | | | | | | | | | In RefCountedBuffer: 1. Pad the instantiantion address of RefCountedBuffer class up to an 8-byte boundary. 2. Add (void *) casts to 'store' pointer to prevent warnings about alignment. In qpid-perftest: 1. Don't pull a size_t object from an arbitrary buffer address. Instead, memcopy the object by bytes. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1183378 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3528Michael Goulish2011-10-132-2/+221
| | | | | | | | | | | | sasl_set_path() does no check on the given directory, so when you get bad behavior later it can be hard to track down. Especially bad is its policy of defaulting to an alternate standard location if yours fails. That's a potential security bug. So this patch checks that your dir exists, and is readable, before calling sasl_set_path(). Either you get the sasl config dir you were expecting, git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1183121 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3417: C++ broker - support adding arrival timestamp to received messages.Kenneth Anthony Giusti2011-10-124-2/+146
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1182490 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3544: ACL denials while replicating exclusive queues to a newly joined ↵Alan Conway2011-10-121-5/+8
| | | | | | | | node. Disabled ACL during cluster update process. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1182451 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Remove un-used and incorrect tests from cluster_tests.pyAlan Conway2011-10-121-86/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1182450 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3522: Distinguish between null and empty string for sasl responseGordon Sim2011-10-121-4/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1182212 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3346: move message group feature into trunk.Kenneth Anthony Giusti2011-10-078-27/+1224
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1180050 13f79535-47bb-0310-9956-ffa450edef68