summaryrefslogtreecommitdiff
path: root/cpp/src/tests
Commit message (Collapse)AuthorAgeFilesLines
* Sorry, forgot a crucial line in my last 'fix'!Gordon Sim2009-02-271-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@748640 13f79535-47bb-0310-9956-ffa450edef68
* Fix test to account for failure after last message has been delivered, but ↵Gordon Sim2009-02-271-4/+8
| | | | | | before the session and connection are closed. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@748624 13f79535-47bb-0310-9956-ffa450edef68
* Add browse option, useful for ad-hoc testing.Gordon Sim2009-02-261-6/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@748252 13f79535-47bb-0310-9956-ffa450edef68
* Added a couple of extra options that are useful in ad-hoc testing.Gordon Sim2009-02-261-7/+21
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@748222 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1693: Improvements to failover soak test from mgoulish@redhat.comGordon Sim2009-02-261-40/+129
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@748081 13f79535-47bb-0310-9956-ffa450edef68
* Add FrameDecoder unit test, update comments in Cluster.h/cpp.Alan Conway2009-02-252-1/+75
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@747947 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1685: Fixed ring queue policyGordon Sim2009-02-251-0/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@747744 13f79535-47bb-0310-9956-ffa450edef68
* Replace struct name to avoid clashing with similarly named struct in ↵Gordon Sim2009-02-251-3/+3
| | | | | | ClientSessionTest. This was causing seg fault when -O0 was specified in CXXFLAGS. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@747709 13f79535-47bb-0310-9956-ffa450edef68
* Fixed issue with producer flow control in a cluster.Alan Conway2009-02-243-5/+4
| | | | | | | | | | | | | | | | | | Producer flow control uses a Timer and other clock-based calculations to send flow control commands. These commands are not predictably ordered from the clusters point of view. Added getClusterOrderProxy() to SessionState. In a cluster it returns a proxy that defers sending a command to the client until it is multicast to the cluster. In a stand alone broker it is just the normal proxy. Updated producer flow control to use this proxy. Cluster flow control is turned off in shadow connections. Only the directly connected node does flow control calculations and multicasts the commands to send. All nodes sending of the commands thru SessionState to ensure consistent session state (e.g. command numbering.) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@747528 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1678 Mick Goulish: failover_soak using UUIDs for cluster name to avoid ↵Alan Conway2009-02-242-8/+9
| | | | | | clashes. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@747521 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1674 Mick Goulish: Fixes an error caused by a string going out of scope ↵Alan Conway2009-02-232-21/+24
| | | | | | just before ForkedBroker startup. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@747162 13f79535-47bb-0310-9956-ffa450edef68
* Commit accepts of control messages (else they are left on queue)Gordon Sim2009-02-201-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@746197 13f79535-47bb-0310-9956-ffa450edef68
* Merged win-pollable-condition branch changes 743545:746056 into trunkStephen D. Huston2009-02-201-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@746061 13f79535-47bb-0310-9956-ffa450edef68
* Ensure pythonpath is set correctlyGordon Sim2009-02-191-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@745834 13f79535-47bb-0310-9956-ffa450edef68
* Fixed for cases where --subs > 1 and --iterations > 1Gordon Sim2009-02-181-1/+14
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@745590 13f79535-47bb-0310-9956-ffa450edef68
* Added tests for federated links to and from a clusterGordon Sim2009-02-183-3/+134
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@745486 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1667: Test case (fix was submitted in previous rev)Gordon Sim2009-02-171-0/+16
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@745125 13f79535-47bb-0310-9956-ffa450edef68
* Ensure that the queue depth in bytes remains accurate for LVQ. This also ↵Gordon Sim2009-02-131-0/+22
| | | | | | ensures that there are no underflow exceptions from the policy that keeps this count. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@744222 13f79535-47bb-0310-9956-ffa450edef68
* Add --no-module-dir to start_cluster script.Alan Conway2009-02-131-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@744129 13f79535-47bb-0310-9956-ffa450edef68
* Test case for previous commit.Gordon Sim2009-02-131-0/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@744052 13f79535-47bb-0310-9956-ffa450edef68
* Cluster security support:Alan Conway2009-02-124-12/+63
| | | | | | | | - Set correct user ID on update connections. - Allow configuration of user, pass and mechanism used for update connections. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@743839 13f79535-47bb-0310-9956-ffa450edef68
* Remove unicode when dealing with usernames and passwords in URLs.Ted Ross2009-02-121-1/+1
| | | | | | | | This solves a problem seen with qpid-route when credentials are supplied. A test was added to regression test. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@743819 13f79535-47bb-0310-9956-ffa450edef68
* Allow passing extra argv arguments to ClusterFixture.Alan Conway2009-02-126-108/+146
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@743779 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1660: If selected consumer can't take a message, ensure others are ↵Gordon Sim2009-02-121-0/+33
| | | | | | notified of message availability. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@743694 13f79535-47bb-0310-9956-ffa450edef68
* Fix cluster flow control bug: hang with large messages (>frame-max) and low ↵Alan Conway2009-02-101-2/+1
| | | | | | --cluster-read-max. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@743114 13f79535-47bb-0310-9956-ffa450edef68
* Cluster support for message time-to-live.Alan Conway2009-02-092-43/+85
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@742774 13f79535-47bb-0310-9956-ffa450edef68
* Fix doubly-defined function.Alan Conway2009-02-092-19/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@742602 13f79535-47bb-0310-9956-ffa450edef68
* Fix error in run_acl_tests.Alan Conway2009-02-061-2/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@741588 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1650 Mick Goulish: separte ClusterFixture from cluster_test.cpp for use ↵Alan Conway2009-02-065-83/+226
| | | | | | by other tests. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@741568 13f79535-47bb-0310-9956-ffa450edef68
* Fixes to producer flow control to reduce the numberAndrew Stitcher2009-02-041-6/+8
| | | | | | | | | of flow messages sent to the client and to eliminate a concurrency issue updating the broker flow control state. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@740933 13f79535-47bb-0310-9956-ffa450edef68
* Fixed run_acl_tests.Alan Conway2009-02-041-3/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@740801 13f79535-47bb-0310-9956-ffa450edef68
* Cluster sets recovery flag on Broker for first member in cluster.Alan Conway2009-02-041-0/+1
| | | | | | | Disable recovery from local store if the recovery flag is not set. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@740793 13f79535-47bb-0310-9956-ffa450edef68
* Fix for race conditions in cluster join.Alan Conway2009-02-032-2/+3
| | | | | | | | | - ConnectionDecoder: separated from Connection. - cluster/PollableQueue: stop processing frames if PollableQueue is stopped. - move state checks in event-queue handler to frame-queue handler. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@740459 13f79535-47bb-0310-9956-ffa450edef68
* Initial version of Windows, Visual Studio .NET 2008 projectsStephen D. Huston2009-02-0217-0/+7192
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@740125 13f79535-47bb-0310-9956-ffa450edef68
* Explicitly reference boost namespace to avoid clashes on WindowsStephen D. Huston2009-02-021-5/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@740124 13f79535-47bb-0310-9956-ffa450edef68
* Use qpid sleep rather than CRT sleep to build on WindowsStephen D. Huston2009-02-021-3/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@740121 13f79535-47bb-0310-9956-ffa450edef68
* Removed unneeded include <alloca.h>Stephen D. Huston2009-02-021-1/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@740120 13f79535-47bb-0310-9956-ffa450edef68
* Use qpid sleep rather than CRT sleep to build on WindowsStephen D. Huston2009-02-021-2/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@740119 13f79535-47bb-0310-9956-ffa450edef68
* Correction for: start a broker in cluster, send messages that are flow to ↵Carl C. Trieloff2009-01-301-2/+7
| | | | | | disk, then join a broker to the cluster. Then consume from the new node. Cotent released messages where loosing content. This patch corrects that. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@739378 13f79535-47bb-0310-9956-ffa450edef68
* Correct mistake from previous commit where missing python dir causes an ↵Alan Conway2009-01-301-4/+6
| | | | | | error rather than a warning. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@739295 13f79535-47bb-0310-9956-ffa450edef68
* Run python tests against a single-member cluster in check-long.Alan Conway2009-01-297-29/+58
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@738947 13f79535-47bb-0310-9956-ffa450edef68
* Producer side rate throttling:Andrew Stitcher2009-01-272-1/+66
| | | | | | | | | This uses the Message.Flow command to send credit from broker to client to ensure that the client doesn't exceed a rate configured on the broker per session. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@738247 13f79535-47bb-0310-9956-ffa450edef68
* Modification to txtest to check that the size of the message remains ↵Kim van der Riet2009-01-271-1/+7
| | | | | | consistent throughout the test. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@738118 13f79535-47bb-0310-9956-ffa450edef68
* Delete the temp log file before the absolute path test.Ted Ross2009-01-271-0/+1
| | | | | | | | If this test failed, the log remained and was appended to. This led to the extraction of the wrong PORT and the failure to shut down the test daemon. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@738089 13f79535-47bb-0310-9956-ffa450edef68
* Cluster rename: dump -> update, newbie -> joinerAlan Conway2009-01-271-6/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@737971 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1613: Ensure that the rule registered with the demuxer for LocalQueue ↵Gordon Sim2009-01-231-0/+19
| | | | | | subscriptions is removed when they are cancelled. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@737028 13f79535-47bb-0310-9956-ffa450edef68
* Removed BodyHolder: minor performance improvement, opens the way for more ↵Alan Conway2009-01-2211-169/+36
| | | | | | efficient memory management. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@736783 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1567: Added ability for federation links to failover to other specified ↵Gordon Sim2009-01-212-1/+108
| | | | | | known-hosts git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@736354 13f79535-47bb-0310-9956-ffa450edef68
* Fix test to use exchange option correctly when specifiedGordon Sim2009-01-211-4/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@736334 13f79535-47bb-0310-9956-ffa450edef68
* Additional latency measurement points.Alan Conway2009-01-212-2/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@736326 13f79535-47bb-0310-9956-ffa450edef68