summaryrefslogtreecommitdiff
path: root/qpid/cpp/src/tests
Commit message (Collapse)AuthorAgeFilesLines
* fixed the cpp/python test integrationRafael H. Schloming2009-08-117-180/+76
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@793091 13f79535-47bb-0310-9956-ffa450edef68
* Simplified PollableConditionAlan Conway2009-07-091-19/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@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@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@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@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@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@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@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@791910 13f79535-47bb-0310-9956-ffa450edef68
* More tests and completion of fix for 791672Carl C. Trieloff2009-07-071-0/+28
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@791858 13f79535-47bb-0310-9956-ffa450edef68
* Corrected the case where message on more than one queue does not persist ↵Carl C. Trieloff2009-07-071-1/+32
| | | | | | when last node standing is enabled git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@791672 13f79535-47bb-0310-9956-ffa450edef68
* Don't try to unset MEMORYCHECK_COMMAND - jut leave it if not neededStephen D. Huston2009-07-021-2/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@790736 13f79535-47bb-0310-9956-ffa450edef68
* Enabled tests, corrected Boost lib locatorsStephen D. Huston2009-07-011-22/+16
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@790216 13f79535-47bb-0310-9956-ffa450edef68
* Fix for cluster_test problems: a) When not started from within test dir, ↵Kim van der Riet2009-07-015-203/+226
| | | | | | qpidd is not found, and a process cascade results in which each forked process continues and runs all tests after its own instead of terminating; b) Hard-coded paths and names of libs, which have been moved into Makefile.am; c) Some tests use ScopedSuppressLogging, these tests are modified so the scope of the logging suppression does not include the broker/cluster startup. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@790215 13f79535-47bb-0310-9956-ffa450edef68
* Fix members joining cluster while cluster is handling client errors.Alan Conway2009-07-011-2/+3
| | | | | | | | | | | Previously cluster members could abort if a new member joins while existing members are handling a client error. Now if an update offer arrives while an error is in progress, the offering broker retracts the offer and the newcomer must try again. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@790163 13f79535-47bb-0310-9956-ffa450edef68
* Fix cluster race condition with connections closed by broker while in use.Alan Conway2009-06-303-8/+17
| | | | | | | | | | | | | | | | If a client is using a connection that is closed at the broker end because of an error, there is a race condition that allows the connection to be incorrectly re-created on replica brokers which can cause those brokers to exit with an error that does not occur on the directly connected broker. The fix: explicitly announce new connections, shadow connections are no longer implicitly created on first use. Make error-check a cluster control so it can be handled independently of the lifecycle of the connection where an error initially occured. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@789947 13f79535-47bb-0310-9956-ffa450edef68
* Add some ring queue tests to make check-long (fix script to use QPID_PORT ↵Gordon Sim2009-06-303-6/+44
| | | | | | | | | correctly) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@789671 13f79535-47bb-0310-9956-ffa450edef68
* Minor test env name cleanup which syncs with changes to storeKim van der Riet2009-06-292-9/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@789369 13f79535-47bb-0310-9956-ffa450edef68
* Backout last change to test scriptGordon Sim2009-06-291-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@789354 13f79535-47bb-0310-9956-ffa450edef68