summaryrefslogtreecommitdiff
path: root/cpp/src/tests
Commit message (Collapse)AuthorAgeFilesLines
* 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
* QPID-2050 - leak of bridge objectsTed Ross2009-09-021-0/+14
| | | | | | | Committed patch from Ken Giusti. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@810693 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2078: cluster disallows the connection.close management method, so skip ↵Gordon Sim2009-09-021-0/+1
| | | | | | this test when running against cluster git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@810388 13f79535-47bb-0310-9956-ffa450edef68
* Remove some warnings picked up by MSVC compilerAndrew Stitcher2009-09-011-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@810104 13f79535-47bb-0310-9956-ffa450edef68
* Working towards abstracting away the cross platform uuid mess:Andrew Stitcher2009-08-311-6/+3
| | | | | | | * Stop including indirectly from uuid.h in qpid/framing/Uuid.h and move inline definitions there into the implementation file git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@809781 13f79535-47bb-0310-9956-ffa450edef68
* Changes to make messaging API build on Windows: Prepend VAR_ to Variant ↵Stephen D. Huston2009-08-311-10/+10
| | | | | | types enum to avoid name clashes, add 'reference' type for FieldTable ValueMap to satisfy STL, refer to structs as such, not as class (avoids compile warning) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@809772 13f79535-47bb-0310-9956-ffa450edef68
* Fix MessagingSessionTests name (was missing trailing 's'Stephen D. Huston2009-08-261-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@808189 13f79535-47bb-0310-9956-ffa450edef68
* Hide internal message ID behind APIGordon Sim2009-08-261-0/+17
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@808121 13f79535-47bb-0310-9956-ffa450edef68
* Fixed minor issues from r807731 to build correctly on Fedora 10 (x86_64).Ted Ross2009-08-251-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@807779 13f79535-47bb-0310-9956-ffa450edef68
* QPID-664: Initial checkin of high level messaging api for c++Gordon Sim2009-08-254-1/+487
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@807731 13f79535-47bb-0310-9956-ffa450edef68
* Added management visibility into the alternate exchange and auto-delete ↵Ted Ross2009-08-251-0/+22
| | | | | | | | | | | attributes of an exchange. Note that auto-delete is not implemented for exchanges. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@807712 13f79535-47bb-0310-9956-ffa450edef68
* Revert 807114Aidan Skinner2009-08-241-791/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@807119 13f79535-47bb-0310-9956-ffa450edef68
* Use co -r instead of URL@REVAidan Skinner2009-08-241-0/+791
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@807114 13f79535-47bb-0310-9956-ffa450edef68
* Add List class to handle encoding of AMQP 0-10 list type.Gordon Sim2009-08-201-1/+31
| | | | | | | | Fill out accessors for different FieldValue types. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@806162 13f79535-47bb-0310-9956-ffa450edef68
* Improved the cleanup-check at the end of every federation testTed Ross2009-08-191-35/+21
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@805807 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2053: Allow queue names to be controlled for perftest (this allows ↵Gordon Sim2009-08-181-22/+31
| | | | | | multiple concurrent instances to be run). Based on a proposal and patch from Frantisek Reznicek. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@805404 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1971 - bind in fedOpReorigen mode is not threadsafe for TopicExchangeTed Ross2009-08-131-0/+124
| | | | | | | | Applied patch from Ken Giusti. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@803996 13f79535-47bb-0310-9956-ffa450edef68
* Moved python cluster tests to new python test runnerKim van der Riet2009-08-123-28/+107
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@803599 13f79535-47bb-0310-9956-ffa450edef68
* fixed the cpp/python test integrationRafael H. Schloming2009-08-117-180/+76
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@803270 13f79535-47bb-0310-9956-ffa450edef68
* Add new test script to distribution list.Gordon Sim2009-08-111-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@803041 13f79535-47bb-0310-9956-ffa450edef68
* Reinstate reliable_replication_testAndrew Stitcher2009-08-111-2/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@802993 13f79535-47bb-0310-9956-ffa450edef68
* Add tests to check for correct Poller DISCONNECT behaviourAndrew Stitcher2009-08-111-24/+43
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@802992 13f79535-47bb-0310-9956-ffa450edef68
* Watchdog feature to remove unresponsive cluster nodes.Alan Conway2009-08-102-33/+51
| | | | | | | | | | | | | | | | | In some intstances (e.g. while resolving an error) it's possible for a hung process to hang the entire cluster as they wait for its response. The cluster can handle terminated processes but hung processes present a problem. If the watchdog plugin is loaded and --watchdog-interval is set then the broker forks a child process that runs a very simple watchdog program, and starts a timer in the broker process to signal the watchdog every interval/2 seconds. The watchdog kills its parent if it does not receive a signal for interval seconds. This allows a stuck broker to be removed from the cluster so other cluster members can continue. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@802927 13f79535-47bb-0310-9956-ffa450edef68