summaryrefslogtreecommitdiff
path: root/cpp/src/tests
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Removed unused filesAndrew Stitcher2009-08-071-2/+1
| | | | | | | Removed unused functions from Timer Switched TimerTest to sys::Timer git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@802160 13f79535-47bb-0310-9956-ffa450edef68
* Return value to silence compiler warningsStephen D. Huston2009-08-031-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@800583 13f79535-47bb-0310-9956-ffa450edef68
* Fixed missing #include linesAndrew Stitcher2009-08-032-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@800555 13f79535-47bb-0310-9956-ffa450edef68
* qrsh initial checkin.Michael Goulish2009-08-0317-0/+2325
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@800481 13f79535-47bb-0310-9956-ffa450edef68
* Fix race condition in cluster error handling.Alan Conway2009-07-312-4/+25
| | | | | | | | | If different errors occured almost simultaneously on two different nodes in a cluster, there was a race condition that could cause the cluster to hang. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@799687 13f79535-47bb-0310-9956-ffa450edef68
* handle fail setting last-node-standing with unit test, still needs system testCarl C. Trieloff2009-07-311-2/+35
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@799658 13f79535-47bb-0310-9956-ffa450edef68
* Removed file src/tests/allSegmentTypes.h, which is generated.Kim van der Riet2009-07-311-128/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@799642 13f79535-47bb-0310-9956-ffa450edef68
* Make previous test more robust, add some commentsCarl C. Trieloff2009-07-311-1/+12
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@799614 13f79535-47bb-0310-9956-ffa450edef68
* Candidate fix for race condition in testCarl C. Trieloff2009-07-311-1/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@799609 13f79535-47bb-0310-9956-ffa450edef68
* Make replication of queue events not dependant on abs queue position, but ↵Carl C. Trieloff2009-07-301-1/+48
| | | | | | rather use source queue sequence numbers. Also add in more error checking and tests git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@799435 13f79535-47bb-0310-9956-ffa450edef68
* Further suppression for 32 bit fedora 11.Gordon Sim2009-07-281-0/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@798518 13f79535-47bb-0310-9956-ffa450edef68
* Suppression for boost 1.37 unit_test problemAndrew Stitcher2009-07-281-0/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@798397 13f79535-47bb-0310-9956-ffa450edef68
* Separate generated public header files from non-public headers, generated ↵Alan Conway2009-07-271-1/+19
| | | | | | | | | | | | | | | | | | | | code re-organization. The gen/ directory has been removed, code is now generated into: $(builddir)/src - all .cpp files and non-public .h files. $(builddir)/include - all public .h files. The gen/ directory was originally intended to separate generated code from hand-written code. However both automake and cmake allow you to direct all build output, including generated code, into a separate build directory. In fact both recommend you build this way. Keeping the gen/ directory meant there would have been a total of 8 places to look for header files, all the combinations of builddir/srcdir, src/include and gen/no-gen. This was a mess, 4 is bad enough. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@798291 13f79535-47bb-0310-9956-ffa450edef68
* More friendly stalled messages for no samplesCarl C. Trieloff2009-07-271-13/+25
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@798241 13f79535-47bb-0310-9956-ffa450edef68
* test checkin for mickMichael Goulish2009-07-201-1/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@795952 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1993: Patch from Chenta Lee to prevent compiler warnings with GCC 4.3.3Gordon Sim2009-07-201-1/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@795752 13f79535-47bb-0310-9956-ffa450edef68
* Don't fail this if there are warnings in the log; mirrors behavior of Linux ↵Stephen D. Huston2009-07-171-3/+5
| | | | | | script git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@795247 13f79535-47bb-0310-9956-ffa450edef68
* Update queue listeners in the correct order.Alan Conway2009-07-161-2/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@794736 13f79535-47bb-0310-9956-ffa450edef68
* better help text, kill not so usefull optionCarl C. Trieloff2009-07-161-30/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@794495 13f79535-47bb-0310-9956-ffa450edef68
* Merge branch 'move_public_h_to_include' into trunkAlan Conway2009-07-151-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@794325 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1988: Applied patch from Mick Goulish to ensure all brokers are stopped ↵Gordon Sim2009-07-151-0/+1
| | | | | | even if there is a failure. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@794206 13f79535-47bb-0310-9956-ffa450edef68
* Minor cluster optimizations.Alan Conway2009-07-141-13/+44
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@793917 13f79535-47bb-0310-9956-ffa450edef68
* Remove incorrect directory from #includeAlan Conway2009-07-1479-125/+125
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@793912 13f79535-47bb-0310-9956-ffa450edef68
* Add directory to #includeAlan Conway2009-07-1479-124/+124
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@793909 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1984: Temporarily disabled the failing test until the error can be ↵Gordon Sim2009-07-142-1/+3
| | | | | | resolved. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@793868 13f79535-47bb-0310-9956-ffa450edef68
* Add missing externs for Queue methods; silence getenv() warnings on Windows ↵Stephen D. Huston2009-07-131-1/+3
| | | | | | by setting _CRT_NO_SECURE_WARNING git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@793717 13f79535-47bb-0310-9956-ffa450edef68
* Correct the case where for very low ( bytes) staging threshhold managementCarl C. Trieloff2009-07-101-0/+25
| | | | | | | | could get disabled. Fix prevents the staging of management messages + test git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@793091 13f79535-47bb-0310-9956-ffa450edef68
* Simplified PollableConditionAlan Conway2009-07-091-19/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@792676 13f79535-47bb-0310-9956-ffa450edef68
* Clean up for next commit to clean broker interfaceCarl C. Trieloff2009-07-092-3/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@792664 13f79535-47bb-0310-9956-ffa450edef68
* simulate this:Carl C. Trieloff2009-07-081-0/+42
| | | | | | | | | | | | | | | 1. start two nodes 2. create cluster durable queue and add some messages 3. kill one node (trigger force-persistent behaviour) 4. stop and recover remaining node 5. add another node 6. kill that new node again make sure that an attempt to re-enqueue a message does not happen which will result in the last man standing exiting with an error. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@792286 13f79535-47bb-0310-9956-ffa450edef68
* fix for regression in patch & test to prevent regression againCarl C. Trieloff2009-07-081-0/+50
| | | | | | | | | | | | | | | | | Simulate this: 1. start 2 nodes 2. create cluster durable lvq 3. send a transient message to the queue 4. kill one of the nodes (to trigger force persistent behaviour)... 5. then restart it (to turn off force persistent behaviour) 6. send another transient message with same lvq key as in 3 7. kill the second node again (retrigger force persistent) 8. stop and recover the first node git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@792259 13f79535-47bb-0310-9956-ffa450edef68
* test for last commitCarl C. Trieloff2009-07-081-1/+18
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@792210 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1974: Fixes (and tests) for updating lvq state to new cluster members.Gordon Sim2009-07-081-2/+63
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@792103 13f79535-47bb-0310-9956-ffa450edef68
* Added python long cluster test outline for long tests and soak tests. Also ↵Kim van der Riet2009-07-075-7/+90
| | | | | | added check for python tools before tests to stop make distcheck failures. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@791945 13f79535-47bb-0310-9956-ffa450edef68
* Add expected failure case to the list (purge is currently disabled on ↵Gordon Sim2009-07-071-0/+1
| | | | | | cluster as it is unsafe) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@791910 13f79535-47bb-0310-9956-ffa450edef68