summaryrefslogtreecommitdiff
path: root/qpid/cpp/src/tests
Commit message (Collapse)AuthorAgeFilesLines
* QPID-3603: Added SystemInfo::isLocalHost to check if a host name refers to ↵Alan Conway2012-05-083-1/+53
| | | | | | the local host. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1335562 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Skip HA tests if required python tools are not available.Alan Conway2012-05-072-3/+33
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1335218 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3767: re-index bridge and link by constant name, not addressKenneth Anthony Giusti2012-05-042-47/+319
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1334138 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2616 Count and limit client connections.Charles E. Rolke2012-05-021-10/+22
| | | | | | | | Bug fix: use Connection.getUserId() and not getUsername() to identify user and upgrade selftest to match. Add comment to Connection.h to suggest the particular pitfall. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1333110 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3963: fix test, add cluster log filters for link and broker stateKenneth Anthony Giusti2012-05-012-17/+22
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1332659 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3963: add testcase for federation and cluster failoverKenneth Anthony Giusti2012-05-011-0/+115
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1332658 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2616 Count and limit client connections.Charles E. Rolke2012-04-302-3/+69
| | | | | | | | Add self tests for connection counting feature. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1332342 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3960: Fix performance regression in priority queue implementation.Alan Conway2012-04-231-0/+1
| | | | | | | | | | | | Revision r1307582 created a serious degredation in priority queue performance. It replaced a muti-deque implementation with o(1) complexity for consuming with a map implementation with o(log(n)) performance. This revision returns to a mutli-deque algorithm but with the addition of a FIFO index for fast browsing of acquired and unacquired messages. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1329301 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Install HA connection excluder at the beginning of initialization.Alan Conway2012-04-231-2/+2
| | | | | | | Previosly excluder was being installed late allowing connections to a backup and diverting backups from the real primary. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1329300 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3964: Enforce 'access' premission rather than 'create' for passive ↵Gordon Sim2012-04-201-9/+32
| | | | | | declares; remove the now redundant 'passive' property from ACL model git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1328384 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Improvements to qpid-cpp-benchmark test.Alan Conway2012-04-191-20/+28
| | | | | | | - Removed un-necessary --group-receivers option to simplify the test. - Added --fill-drain: fil then drain the queues instead of running concurrent send/receive git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1328126 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3606: More consistent logging and error handling for HA code.Alan Conway2012-04-191-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1328124 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3352: Fix test for failed session to avoid confusion with as yet ↵Alan Conway2012-04-181-9/+6
| | | | | | | | | | | | | | | | | uninitialised session Previously, Link was using sessionHandler::isReady() to determine if a bridge had failed and needed recovery. However this incorrectcly recovers bridges that are not yet initialized as well as those that have failed. This was causing sporadic core dumps in serveral of the ha_tests.py tests, in particular test_backup_acquired. This patch adds a callback to notify the bridge when the session is detached, and use this as the criteria for recovering a bridge. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1327532 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Fix assertion messages in brokertest.pyAlan Conway2012-04-181-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1327518 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Minor code clean-up in brokertest.py and ha_tests.py.Alan Conway2012-04-172-97/+97
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1327137 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3950: Allow browsing of queues with exclusive subscriptionsAlan Conway2012-04-171-1/+15
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1327135 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Removed useless flow control code from qpid-send.Alan Conway2012-04-163-33/+0
| | | | | | | This code serves no purpose now that qpidd has producer flow control. Removed it to simplify the tests. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1326757 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Control running of cluster tests.Alan Conway2012-04-1624-58/+105
| | | | | | | | | | | Previously cluster tests would run if cluster services were running, even if build was explicitly configured without CPG. Don't run cluster tests unless the build is configured with CPG. If the build is configured *with* CPG, you can still skip the CPG tests by setting QPID_USE_CPG=no in the environment. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1326756 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Minor improvements to HA tests, documentation and examples.Alan Conway2012-04-164-25/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1326755 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Add heartbeat and reconnect options to qpid-cluster-benchmarkAlan Conway2012-04-162-9/+17
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1326754 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: ha_tests.py: Suppress python WARNING messages during failoverAlan Conway2012-04-161-8/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1326753 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3926 - Fixes how unsigned 16 bit ints are assigned in the UUID test.Ted Ross2012-04-161-1/+1
| | | | | | | Applied patch from Darryl Pierce. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1326654 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3947: Bounds checking for str8/str16 on creating AMQP 0-10 structsGordon Sim2012-04-131-0/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1326014 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Update HA documentatiionAlan Conway2012-04-051-7/+7
| | | | | | Also renamed --ha-replicate-default to --ha-replicate git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1310026 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3918 Add management queries to ACL module.Charles E. Rolke2012-04-041-0/+194
| | | | | | | | | * Make queries available to self tests. * Exercise query interface during acl self tests. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1309549 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Broker option --ha-replicate-default to specify default replication.Alan Conway2012-04-021-63/+79
| | | | | | | Takes values 'all', 'configuration', 'all'. This is the replication level to use if a queue or exchange is created without an explicit 'qpid.replicate' argument. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1308597 13f79535-47bb-0310-9956-ffa450edef68
* Set BOOST_TEST_DYN_LINK only if linking dynamically with Boost. NO-JIRAStephen D. Huston2012-03-301-1/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1307592 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Keep acquired messages on queues for all queue types.Alan Conway2012-03-302-6/+57
| | | | | | | | Updated priority and lvq queues to keep acquired messages, and supply them to browsers if requested. This is necessary so replicating subscriptions can back-up these queue types without message loss. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1307582 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3921: C++ header files need tidyupAndrew Stitcher2012-03-285-6/+9
| | | | | | | | | | Tidied up header use of FieldValue.h - Removed all unnecessary includes of FieldValue.h from other header files especially Array.h. (This avoids the world recompiling when working on FieldValue!) - Corrected up header guards in Array.h git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1306595 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Substitute installation directories in qpidd init scripts.Alan Conway2012-03-271-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1306007 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Minor updates to doc and example cluster configuration.Alan Conway2012-03-271-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1305890 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA - Fixed a reference bug in qpid-config and added a test that exposes ↵Ted Ross2012-03-211-0/+3
| | | | | | the error. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1303596 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2082: Put all of the C++ code in the source tree into a namespaceAndrew Stitcher2012-03-201-8/+19
| | | | | | - Final file that slipped through git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1303024 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2082: Put all of the C++ code in the source tree into a namespaceAndrew Stitcher2012-03-205-18/+50
| | | | | | - This change moves the remaining non-example code in a namespace git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1302988 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Removed more unused filesAndrew Stitcher2012-03-166-807/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1301768 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3901 Add EXTRA-DIST file required for windows buildsCharles E. Rolke2012-03-161-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1301512 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Remove some namespace polluting "using namespace boost" declarationsAndrew Stitcher2012-03-153-3/+3
| | | | | | | | - Blanket "using namespace" declarations like these are BAD, they can change the symbols imported into your namespace and you have no control over this. - Needed to make QPID-3893 compile on windows git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1301168 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRAMichael Goulish2012-03-151-1/+3
| | | | | | | | | use new local sasl config file when starting authenticating broker, so that sasl mechs will not depend on the whimsies and vicissitudes of the system settings. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1301153 13f79535-47bb-0310-9956-ffa450edef68
* Ensure both SQL and CLFS tests run if they're built. NO-JIRAStephen D. Huston2012-03-141-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1300595 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3891 C++ Broker --log-function is too chatty.Charles E. Rolke2012-03-091-1/+4
| | | | | | | | Print only class-qualified function names and no args. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1299015 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: rgmanager integration for new HA clusterAlan Conway2012-03-081-0/+18
| | | | | | | | - service start script qpid-primary, called by rgmanager to promote a broker. - example cluster.conf - minor changes to qpid-ha git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1298602 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Initial documentation for the new HA plug-in.Alan Conway2012-03-051-21/+21
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1297234 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA - Cleaned up qpidtoollibsTed Ross2012-03-051-1/+1
| | | | | | | | | 1) Fixed the update() method to work on all object types 2) Shortened the path needed in import statements 3) Updated the connection-stats test to use qpidtoollibs git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1297230 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA - Fixed a failure in the acl tests that was caused by a change in ↵Ted Ross2012-03-051-1/+1
| | | | | | log format. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1297220 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3883: Using application headers in messages causes a very large slowdownAndrew Stitcher2012-03-052-48/+50
| | | | | | | | | | Change Exchange route interface not to require a fieldtable - Exchanges that actually use the fieldtable for routing need to extract it directly from the message themselves. This avoids the need to extract the fieldtable from the message unnecessarily. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1297183 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3883: Using application headers in messages causes a very large slowdownAndrew Stitcher2012-03-051-2/+10
| | | | | | Change perftest to allow it add headers to messages git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1297181 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3799 Acl update. Merge from branches/QPID-3799-aclCharles E. Rolke2012-03-011-206/+392
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1295730 13f79535-47bb-0310-9956-ffa450edef68
* 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