summaryrefslogtreecommitdiff
path: root/cpp/src/tests
Commit message (Collapse)AuthorAgeFilesLines
* Separate FailoverListener from client::Connection.Alan Conway2009-10-264-11/+17
| | | | | | | | | | | | | | | | | | client::ConnectionImpl used to contain a FailoverListener to subscribe for updates on the amq.failover exchange. This caused some lifecycle issues including memory leaks. Now FailoverListener is a public API class that the user must create associated with a session to get known-broker updates. Removed the weak_ptr logic in client::SessionImpl which was only required because of FailoverListener. Made SessionImpl::close() idempotent. Gets rid of spurious warning messages in some tests. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@829931 13f79535-47bb-0310-9956-ffa450edef68
* Removed "..." from suppressions to work with older valgrind versions.Alan Conway2009-10-222-5/+15
| | | | | | | Allow enabling of valgrind suppressions by setting VALGRIND_OPTS. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@828739 13f79535-47bb-0310-9956-ffa450edef68
* Improved suppression for TCPConnector leak.Alan Conway2009-10-221-8/+4
| | | | | | Works for different libgcc version and different amounts of inlining. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@828676 13f79535-47bb-0310-9956-ffa450edef68
* Tidied up dependencies in IOHandle so that it is no longerAndrew Stitcher2009-10-211-0/+4
| | | | | | dependent on the windows implementation classes. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@828230 13f79535-47bb-0310-9956-ffa450edef68
* Supress TCPConnector join leak, disabled valgrind --gen-supressions - too ↵Alan Conway2009-10-202-1/+16
| | | | | | verbose. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@827731 13f79535-47bb-0310-9956-ffa450edef68
* Pull running acceptor out of Broker run loopAndrew Stitcher2009-10-161-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@826033 13f79535-47bb-0310-9956-ffa450edef68
* Improved test output capturing in automated tests; correctly get exe process ↵Stephen D. Huston2009-10-155-28/+62
| | | | | | exit codes git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@825358 13f79535-47bb-0310-9956-ffa450edef68
* Cluster shuts down broker via SignalHandler to fix memory errors on exit.Alan Conway2009-10-081-3/+3
| | | | | | | | The SignalHandler holds a global reference to the broker which needs to be reset otherwise there are problems when the broker by a global destructor. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@823258 13f79535-47bb-0310-9956-ffa450edef68
* Fix race condition in testExclusiveQueueUpdate causing occasional false ↵Alan Conway2009-10-081-0/+1
| | | | | | failures. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@823213 13f79535-47bb-0310-9956-ffa450edef68
* Fix typo in ais_check, causing cluster tests to fail.Alan Conway2009-10-061-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@822268 13f79535-47bb-0310-9956-ffa450edef68
* Remove conflicts checked in earlierStephen D. Huston2009-10-061-17/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@822225 13f79535-47bb-0310-9956-ffa450edef68
* Get remaining tests running on WindowsStephen D. Huston2009-10-053-25/+119
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@822091 13f79535-47bb-0310-9956-ffa450edef68
* Improve ability to avoid dialogs in automated testsStephen D. Huston2009-10-051-0/+17
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@822086 13f79535-47bb-0310-9956-ffa450edef68
* Minor improvements to cluster logging.Alan Conway2009-10-051-3/+3
| | | | | | Include the original error message in critical log messages. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@821948 13f79535-47bb-0310-9956-ffa450edef68
* Correct some powershell problems for WindowsStephen D. Huston2009-10-054-27/+28
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@821887 13f79535-47bb-0310-9956-ffa450edef68
* Fixed: cluster udpate did not presever deliver-properties.exchange on messages.Alan Conway2009-10-055-60/+67
| | | | | | | | Also minor improvements: - Improved debug logging for consumers. - Cluster tests scripts work with latest corosync: don't check/set ais group. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@821830 13f79535-47bb-0310-9956-ffa450edef68
* Look for qpidd.exe in various places, not just DebugStephen D. Huston2009-10-033-6/+53
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@821437 13f79535-47bb-0310-9956-ffa450edef68
* Applied patches to resolve QPID-2076Stephen D. Huston2009-10-022-3/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@821066 13f79535-47bb-0310-9956-ffa450edef68
* define content- and view- classes separately from message classGordon Sim2009-10-021-34/+49
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@821000 13f79535-47bb-0310-9956-ffa450edef68
* Fix QPID-2086 - problem with read-credit.Alan Conway2009-10-018-74/+63
| | | | | | | Also cleaned up the cluster test scripts. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@820717 13f79535-47bb-0310-9956-ffa450edef68
* This is related to QPID-2108Rajith Muditha Attapattu2009-09-291-8/+8
| | | | | | | | | I was initially setting the qpid.max_count and qpid.max_size as strings instead of ints as expected by the API. I also incorrectly fetched them as strings on the broker side. This commit fixes acl.py test script to use int values for the above properties and then fetches them appropriately from the broker side. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@820082 13f79535-47bb-0310-9956-ffa450edef68
* Fix dependencies so python client used by tests is built before tests.Alan Conway2009-09-291-0/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@819994 13f79535-47bb-0310-9956-ffa450edef68
* I have applied the patch attached to QPID-2108 from Tim Platten with a few ↵Rajith Muditha Attapattu2009-09-291-12/+114
| | | | | | | | | | | modifications. (Please refer to the JIRA for a description of these modifications) I also fixed the formatting and added more debug loggging for the publish acl lookup method in AclData.cpp I also added test cases to cover QPID-2108 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@819948 13f79535-47bb-0310-9956-ffa450edef68
* Fix python tests to work in VPATH builds and for make distcheck.Alan Conway2009-09-2815-101/+135
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@819738 13f79535-47bb-0310-9956-ffa450edef68
* Transient flow-to-disk messages switched to store from BDB. Only ↵Kim van der Riet2009-09-281-2/+2
| | | | | | single-queue transient messages are handled at this point, multi-queue bindings are blocked under all circumstances to prevent routing order dependencies from making the outcome inconsistent. BZ525813 - "Move Flow to disk from BDB to journal" git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@819600 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2102: Changed QueuePolicy to rely on external locking and require ↵Gordon Sim2009-09-281-3/+4
| | | | | | | | | | dequeues to be handled by policy user rather. (r817742 introduced a deadlock in ring queue policy which this checkin fixes) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@819505 13f79535-47bb-0310-9956-ffa450edef68
* Fix to allow python testing stuff to build outside source treeAndrew Stitcher2009-09-231-4/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@818246 13f79535-47bb-0310-9956-ffa450edef68
* rhs's new system for python allows us to build python testMichael Goulish2009-09-2312-27/+34
| | | | | | | | | | | | | | | | code that is appropriate for the installed python version, and place the code at any desired location. This is a big improvement in making the builds automatically adapt to different OSs. From src/tests/Makefile.am, I am calling his gadget to create the code, and placing it all in PYTHON_DIR/temp. Then altering the paths in a bunch of test scripts to point to the right places. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@818020 13f79535-47bb-0310-9956-ffa450edef68
* Minor update to allow store access to the message isPersistent() method. ↵Kim van der Riet2009-09-221-1/+1
| | | | | | This is required for correctly setting the transient flag. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@817748 13f79535-47bb-0310-9956-ffa450edef68
* Joint checkin from gsim, kpvdr, cctrieloff. See QPID-2102: Exceeding reject ↵Kim van der Riet2009-09-225-41/+367
| | | | | | queue policy under a transaction causes broker crash git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@817742 13f79535-47bb-0310-9956-ffa450edef68
* More namespace cleaningAndrew Stitcher2009-09-211-1/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@817396 13f79535-47bb-0310-9956-ffa450edef68
* Enabled some tests that were unintentionally disabled.Alan Conway2009-09-181-3/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@816781 13f79535-47bb-0310-9956-ffa450edef68
* Rolling back my recent change 816715. These script changes don't work with ↵Michael Goulish2009-09-1812-35/+27
| | | | | | the RH "Ptolemy" build system. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@816731 13f79535-47bb-0310-9956-ffa450edef68
* rhs's new system for python allows us to build python testMichael Goulish2009-09-1812-27/+35
| | | | | | | | | | | | | | | | code that is appropriate for the installed python version, and place the code at any desired location. This is a big improvement in making the builds automatically adapt to different OSs. From src/tests/Makefile.am, I am calling his gadget to create the code, and placing it all in PYTHON_DIR/temp. Then altering the paths in a bunch of test scripts to point to the right places. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@816715 13f79535-47bb-0310-9956-ffa450edef68
* backing out change r815804 -- didn't test with clustering turned on.Michael Goulish2009-09-1612-26/+19
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@815923 13f79535-47bb-0310-9956-ffa450edef68
* Path fix for recent checkin of Python changes.Michael Goulish2009-09-161-6/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@815912 13f79535-47bb-0310-9956-ffa450edef68
* Use qpid::sys::sleep() instead of naked sleep(); fixes build error on WindowsStephen D. Huston2009-09-161-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@815876 13f79535-47bb-0310-9956-ffa450edef68
* rhs's new system for python allows us to build python testMichael Goulish2009-09-1612-13/+20
| | | | | | | | | | | | | | | code that is appropriate for the installed python version, and place the code at any desired location. This is a big improvement in making the builds automatically adapt to different OSs. From src/tests/Makefile.am, I am calling his gadget to create the code, and placing it all in PYTHON_DIR/temp. Then altering the paths in a bunch of test scripts to point to the right places. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@815804 13f79535-47bb-0310-9956-ffa450edef68
* Reversed checkin of r.813825 until its problems can be resolvedKim van der Riet2009-09-141-120/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@814692 13f79535-47bb-0310-9956-ffa450edef68
* Added available and pendingAck properties to Receiver; added capacity and ↵Gordon Sim2009-09-141-1/+77
| | | | | | pending properties to Sender. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@814562 13f79535-47bb-0310-9956-ffa450edef68
* Organized the tests to cover both allow and deny mode for particular caseRajith Muditha Attapattu2009-09-111-33/+259
| | | | | | | | Added more tests cases to exchange , particularly to cover QPID-2098 Fixed errors in test cases for queue acl git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@814077 13f79535-47bb-0310-9956-ffa450edef68
* Fix for signed-unsigned mismatch in testKim van der Riet2009-09-111-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@814020 13f79535-47bb-0310-9956-ffa450edef68
* This commit contains the followingRajith Muditha Attapattu2009-09-111-21/+105
| | | | | | | | | | 1. Applying patches from Tim Platten attched to QPID-2062 and QPID-2063 2. Fixed QPID-2098 3. Added test cases for QPID-2062 and QPID-2063 4. Added more user friendly logging for ACL rule processing and lookup methods. In debug mode the logging should now provide more visibility into how rules are evaluated. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@813850 13f79535-47bb-0310-9956-ffa450edef68
* Joint checkin with cctrieloff. Refactor of exchange routing so that ↵Kim van der Riet2009-09-111-4/+130
| | | | | | multi-queue policy differences may be resolved and allow for correct multi-queue flow-to-disk behavior. Different queues may have differing policies and persistence properties - these were previously being neglected. New c++ test added. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@813825 13f79535-47bb-0310-9956-ffa450edef68
* Fixed wrong namespace placement in previous check inAndrew Stitcher2009-09-091-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@813123 13f79535-47bb-0310-9956-ffa450edef68
* Tidied up namespace usageAndrew Stitcher2009-09-0989-940/+1378
| | | | | | Miscelleneous whitespace fixes git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@813094 13f79535-47bb-0310-9956-ffa450edef68
* ( mgoulish checking in changes for gsim )Michael Goulish2009-09-091-6/+10
| | | | | | | add ttl option for messages. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@812995 13f79535-47bb-0310-9956-ffa450edef68
* QPID-664: Added automatic message replay on reconnection.Gordon Sim2009-09-071-2/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@812243 13f79535-47bb-0310-9956-ffa450edef68
* QPID-664: Added automatic reconnection logic.Gordon Sim2009-09-073-0/+188
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@812049 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2045 - crash when destroying a federation link with a dynamic bridgeTed Ross2009-09-031-2/+7
| | | | | | | Committed patch from Ken Guisti git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@811046 13f79535-47bb-0310-9956-ffa450edef68