summaryrefslogtreecommitdiff
path: root/qpid/cpp/src/tests
Commit message (Collapse)AuthorAgeFilesLines
* QPID-3346: checkpoint client tracking codeqpid-3346Kenneth Anthony Giusti2011-11-071-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-3346@1198612 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3346: resync this development branch with latest trunkKenneth Anthony Giusti2011-10-289-137/+434
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-3346@1190406 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3346: merge **from** trunk **to** qpid-3346 dev branchKenneth Anthony Giusti2011-10-061-0/+18
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-3346@1179802 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3346: enhance the configuration UI for msg groupsKenneth Anthony Giusti2011-10-054-5/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-3346@1179208 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3346: fix cmake buildKenneth Anthony Giusti2011-09-191-0/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-3346@1172777 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3346: merge in latest from trunk (r1172628)Kenneth Anthony Giusti2011-09-1934-376/+2913
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-3346@1172657 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3346: add cluster support and unit testKenneth Anthony Giusti2011-09-133-46/+208
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-3346@1170311 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3346: move timestamping after group generation codeKenneth Anthony Giusti2011-09-061-4/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-3346@1165900 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3346: update qpid-send to generate grouped message trafficKenneth Anthony Giusti2011-09-021-3/+92
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-3346@1164729 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3346: added some functional tests.Kenneth Anthony Giusti2011-09-014-38/+153
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-3346@1164284 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3346: add functional test, bugfix.Kenneth Anthony Giusti2011-08-313-2/+550
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-3346@1163809 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3346: checkpoint - free group heuristic and unit testKenneth Anthony Giusti2011-08-191-33/+244
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-3346@1159671 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3346: checkpoint - added mgmt interfaces, fleshed out sub-optimal ↵Kenneth Anthony Giusti2011-08-161-10/+71
| | | | | | implementation git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-3346@1158073 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3346: incorporate review inputKenneth Anthony Giusti2011-08-081-5/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-3346@1155095 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3346: refactor queue interface to support consumer-based message selection.Kenneth Anthony Giusti2011-08-051-8/+13
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-3346@1154376 13f79535-47bb-0310-9956-ffa450edef68
* JIRA 3337Michael Goulish2011-07-061-2/+2
| | | | | | | | | | | no more defaulting to guest/guest username/password qpidd.sasldb is no longer created -- users who want usernames and passwords in there must create it. but a local qpidd.sasldb is (before this change) being created for 'make check' testing. The etc/sasl2/qpidd.conf file now has an explicit mech list -- so we will no longer default to the system-list. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1143536 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3330: Corrected handling of empty strings (using patch from Anthony ↵Gordon Sim2011-07-011-0/+11
| | | | | | Foglia) and added test case git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1141910 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3329: Configure C++ client connections to replace url-addresses rather ↵Alan Conway2011-06-302-9/+13
| | | | | | than merging new addresses with old git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1141493 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Add reconnect-timeout to test clients to prevent client hangs.Alan Conway2011-06-272-7/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1140179 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3129: cluster_tests.LongTests.test_failover hangsAlan Conway2011-06-202-5/+15
| | | | | | | | | Problem: the first broker in the cluster could be killed before the receiver was connected, so the receiver could not fail-over, it didn't have a failover update. Fix: wait for the first message to be received by the receiver before starting the broker-kill loop. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1137657 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3280: Performance problem with TTL messages.Alan Conway2011-06-153-7/+142
| | | | | | | | | | | | When sending a large number of messages with nonzero TTLs to a cluster, overall message throughput drops by around 20-30% compared to messages with TTL 0. The previous approach to TTL in the cluster is replaced with a simpler "cluster clock". Also QueueCleaner is executed in the cluster timer, and modified to be deterministic in a cluster. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1136170 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Fix sporadic failures in cluster_tests.py test_management.Alan Conway2011-06-152-4/+8
| | | | | | | | Fix timing problems with broker shut down in this test. Kill all brokers in the test, rather than leaving the last 2 running to be cleaned up by the harness. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1136166 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3200: Add new method to session for cumulative acknowledgement upto ↵Gordon Sim2011-06-151-0/+40
| | | | | | (and including) a specified message git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1136003 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Increase join timeout in brokertest.py, was causing spurious failures.Alan Conway2011-06-141-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1135786 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Removed reconnect-timeout from tests, was causing spurious failures.Alan Conway2011-06-142-7/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1135768 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Fix bugs in test_failover test and the brokertest.py framework.Alan Conway2011-06-142-17/+30
| | | | | | | - brokertest.py was not reliably detecting failed processes. - test_failover was not setting the reconnect option on its connections. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1135722 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3284 - There was a fix missing in one of the test files.Ted Ross2011-06-131-2/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1135259 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3225: Allow exclusivity (for subscription queue and subscription ↵Gordon Sim2011-06-131-0/+32
| | | | | | itself) to be controlled through address properties. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1135165 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3298: don't include the internal federation related args in the biding ↵Gordon Sim2011-06-091-3/+10
| | | | | | for headers exchange git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1133942 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3284: Eliminated warnings from gcc 4.6 compilerAndrew Stitcher2011-06-071-2/+1
| | | | | | | | - Removed a bunch of variables set but not further used. - Rejigged some asserts which would now have unused vars if compiler -DNDEBUG git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1133166 13f79535-47bb-0310-9956-ffa450edef68
* Refactor socket connect calls to take a string portAndrew Stitcher2011-05-261-1/+3
| | | | | | This is used used to implement unix domain sockets - QPID-3281 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1128064 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3278: pass container for expired messages by referenceGordon Sim2011-05-261-1/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1127901 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2905 - Code modifications to enable Windows builds with the mingw32 ↵Ted Ross2011-05-182-1/+7
| | | | | | compiler. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1104662 13f79535-47bb-0310-9956-ffa450edef68
* Remove support for archaic Boost version 1_32 ( 103200 ).Michael Goulish2011-05-171-74/+0
| | | | | | | ( As promised, long ago. ) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1104291 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3244: unit test for the fix.Kenneth Anthony Giusti2011-05-052-0/+90
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1099979 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3243: unit test to verify fix.Kenneth Anthony Giusti2011-05-052-27/+96
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1099957 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3243: correctly use --max-queue-count value to compute flow limit.Kenneth Anthony Giusti2011-05-033-1/+23
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1099278 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3239Michael Goulish2011-05-021-12/+27
| | | | | | | | | qpid-tool is no longer printing status of clustered broker links, so this test code (which is used by several tests) hangs. so make it look at the "transport" field instead. also -- if this test is run on a machine that is clustered with several others -- and if there is another copy of the test running on one of the other machines -- the brokers on the different machinnes will form One Big Cluster. append the box-name to the cluster name. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1098704 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3235: clustered qpidd broker fails ocassionly the ↵Alan Conway2011-04-291-1/+7
| | | | | | | | | | | | cluster_tests.ShortTests.test_route_update Inconsistent stats changes on a Link were causing cluster inconsistency. Fix is to disable those stats changes in a cluster. Updated cluster_tests.py to reliably generate the error every time without the fix. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1097838 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3076: enable flow control for clustered broker configurations.Kenneth Anthony Giusti2011-04-283-23/+162
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1097432 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3222: Prevent ttl overflow; also adds equality operators for ↵Gordon Sim2011-04-261-0/+14
| | | | | | qpid::messaging::Duration. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1096751 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3215: cached exchange reference can cause cluster inconsistencies if ↵Alan Conway2011-04-191-0/+48
| | | | | | | | | | | | | | | | | exchange is deleted/recreated SemanticState::route() uses a simple cache variable to avoid looking up the exchange for every message. However if the exchange in question is deleted, even if then recreated, this can cause inconsistencies in a cluster. Even in a stand-alone broker messages can be routed by a deleted exchange because of the cache. Fix is to mark the exchange deleted and check the status when using the cached exchange. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1095144 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3208: Exchanges make best effort to route messages if there is an error.Alan Conway2011-04-183-16/+64
| | | | | | | | | | | | | | | Previously if multiple queues were bound to the same routing key, then a failure to deliver to one of the queues (e.g. policy limit error) could prevent delivery on some of the other queues. With this commit the exchange delivers to every queue that did not have an error before raising an error. Note: this was originally committed as r1092765, but it caused test failures was reverted as r1092804. The original commit did not create exceptions of the correct type. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1094734 13f79535-47bb-0310-9956-ffa450edef68
* Revert "QPID-3208: Exchanges make best effort to route messages if there is ↵Alan Conway2011-04-152-43/+7
| | | | | | | | an error." This reverts commit r1092765 which introduced test failures in make check. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1092804 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3208: Exchanges make best effort to route messages if there is an error.Alan Conway2011-04-152-7/+43
| | | | | | | | | | | Previously if multiple queues were bound to the same routing key, then a failure to deliver to one of the queues (e.g. policy limit error) could prevent delivery on some of the other queues. With this commit the exchange delivers to every queue that did not have an error before raising an error. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1092765 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3206: fix broken test from previous commitGordon Sim2011-04-141-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1092306 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3206: added special cases to catch negative numeric string conversions ↵Gordon Sim2011-04-141-0/+58
| | | | | | to unsigned values git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1092219 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3170: correct deletion of federation routes when keys match.Kenneth Anthony Giusti2011-04-081-1/+299
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1090266 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: minor improvements to qpid-cpp-benchmark, more flexible arguments.Alan Conway2011-04-041-6/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1088738 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3129: cluster_tests.LongTests.test_failover hangsAlan Conway2011-03-301-1/+1
| | | | | | | | | | | | | | | | | Fix is a race condition in posix/Socket.cpp Socket::connect. When connecting to a port on the same host which no longer has a process associated with it the OS occasionally chooses the remote port (which is unoccupied) as the port to bind the local end of the socket, resulting in a "circular" connection. This seems like something the OS should prevent but I have confirmed that the sporadic hangs in cluster_tests.LongTests.test_failover on RHEL5 are caused by such a circular connection. The fix is to detect circular connections and raise an error. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1087052 13f79535-47bb-0310-9956-ffa450edef68