summaryrefslogtreecommitdiff
path: root/qpid/cpp/src/tests
Commit message (Collapse)AuthorAgeFilesLines
* QPID-1367 Mick Goulish: improvements to client-side failover.Alan Conway2008-10-171-8/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@705668 13f79535-47bb-0310-9956-ffa450edef68
* Suppress logging expected errors in tests.Alan Conway2008-10-172-54/+61
| | | | | | | Improved log messages for connection, session errors. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@705661 13f79535-47bb-0310-9956-ffa450edef68
* Fix valgrind suppression for boost thread leak to work on 32 & 64 bit.Alan Conway2008-10-171-5/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@705624 13f79535-47bb-0310-9956-ffa450edef68
* QPID-106: SSL support for c++ (broker and client), can be enabled/disabled ↵Gordon Sim2008-10-173-0/+50
| | | | | | explictly via --with-ssl/--without-ssl args to configure; by default will build the modules if dependencies are found. See SSL readme file for more details. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@705534 13f79535-47bb-0310-9956-ffa450edef68
* Feature requested by AndrewM for M4...Carl C. Trieloff2008-10-171-0/+41
| | | | | | | | - provide initial value support, for late joining consumers git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@705443 13f79535-47bb-0310-9956-ffa450edef68
* Fix signed/unsigned compile error.Alan Conway2008-10-161-4/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@705365 13f79535-47bb-0310-9956-ffa450edef68
* Extended dump consumer test to cover member death.Alan Conway2008-10-162-16/+31
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@705347 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1366 - implementation of automatic anti-looping for federationTed Ross2008-10-161-0/+59
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@705337 13f79535-47bb-0310-9956-ffa450edef68
* Add suppression for known leak in older boost.thread.Alan Conway2008-10-161-0/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@705289 13f79535-47bb-0310-9956-ffa450edef68
* Fix race in cluster causing incorrect known-broker lists to be sent to clients.Alan Conway2008-10-161-28/+35
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@705287 13f79535-47bb-0310-9956-ffa450edef68
* Split logging options into portable options and sink-related options that ↵Stephen D. Huston2008-10-154-15/+30
| | | | | | are platform-specific. Re-did sink options for Posix as discussed on qpid-dev (no more --log-output, but more specific --log-to-<target> options. Allows addition of Windows options without further reorg of Posix code. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@705083 13f79535-47bb-0310-9956-ffa450edef68
* Allow QPID_AUTO_TEST_CASE_EXPECTED_FAILURES to work at Boost 1.35Stephen D. Huston2008-10-151-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@705067 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1341 from JonathanCarl C. Trieloff2008-10-151-3/+59
| | | | | | | | | | | | | - Patch applied for Jonathan - Made the following changes - added PreRoute for route() for sequencing - changed xmlexchange form struct to class - added xml.so to verify script - removed two unsed files. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@704962 13f79535-47bb-0310-9956-ffa450edef68
* Updated testGordon Sim2008-10-151-25/+41
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@704923 13f79535-47bb-0310-9956-ffa450edef68
* c++ broker: Don't hold on to delivery records for accepted/released messages ↵Gordon Sim2008-10-151-1/+1
| | | | | | | | | | unless required due to being in windowing mode. python client: Modified start() on incoming queue to setthe flow mode as credit (not windowing) git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@704838 13f79535-47bb-0310-9956-ffa450edef68
* Field Table API: changed the getInt() & getString() operationsAndrew Stitcher2008-10-134-25/+25
| | | | | | | | which are inconsistent with all the other getXXX() functions to getAsString()/getAsInt() to better indicate their real function. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@704255 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1351Carl C. Trieloff2008-10-132-0/+71
| | | | | | | | | | | | | -Support for sequencing messages through an exchange -Related changes - Bug fix for ptr saftey in Headers & FanOut exchange - Added support for int64 and uint64 in fieldvalue / fieldtable - Added tests for fieldtable - Added tests for sequencing message feature. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@704192 13f79535-47bb-0310-9956-ffa450edef68
* Periodically purge expired messages from queuesGordon Sim2008-10-132-0/+79
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@704166 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1306Carl C. Trieloff2008-10-111-3/+6
| | | | | | | | - Added aquire safety check + test. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@703704 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1350 - Object reference following in the QMF console APITed Ross2008-10-101-1/+12
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@703588 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1349 - Push routing for federation (includes hook for dynamic routing)Ted Ross2008-10-101-0/+44
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@703561 13f79535-47bb-0310-9956-ffa450edef68
* Client-side support for amq.faiover exchange. Connection::getKnownBrokers ↵Alan Conway2008-10-091-44/+24
| | | | | | provides latest list. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@703237 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1306Carl C. Trieloff2008-10-091-0/+48
| | | | | | | | | | - from review, clean-up for acquire - test for LVQ acquire - suppress store for LVQ git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@703236 13f79535-47bb-0310-9956-ffa450edef68
* Added options to perftestCarl C. Trieloff2008-10-091-14/+36
| | | | | | | | | | - tx_sub & tx_pub so that they can be set independantly - async tx pub option git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@703214 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1306Carl C. Trieloff2008-10-082-7/+97
| | | | | | | | | | | | - added lvq support - added lvq tests - added safety test for lvq - updated QueueOptions for lvq - some refactor to queue, to have signel pop loction git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@702958 13f79535-47bb-0310-9956-ffa450edef68
* Added serialize/deserialize for ObjectIdTed Ross2008-10-082-1/+76
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@702913 13f79535-47bb-0310-9956-ffa450edef68
* SessionImpl using ExceptionHolder to generate correctly typed exceptions..Alan Conway2008-10-081-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@702681 13f79535-47bb-0310-9956-ffa450edef68
* rubygen/framing.0-10/constants.rb: create functions for all 3 exception ↵Alan Conway2008-10-081-33/+31
| | | | | | | | | | subclasses. client: added session suspend/resume functions, resume not implemented yet. ClientSessionTest: enabled compilation of suspend/resume tests with expected failures. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@702674 13f79535-47bb-0310-9956-ffa450edef68
* broker: Fixed incorrect pass-by-reference of Queue::shared_ptr in several files.Alan Conway2008-10-072-5/+80
| | | | | | | | cluster: added FailoverExchange - send cluster membership to clients. client: added FailoverListener - receive cluster updates from failover exchange. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@702552 13f79535-47bb-0310-9956-ffa450edef68
* Rename size() to encodedSize() for encoded types to allow std collection ↵Alan Conway2008-10-074-9/+9
| | | | | | interfaces for types like FieldTable and Array. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@702551 13f79535-47bb-0310-9956-ffa450edef68
* Cluster join & brain-dumps working.Alan Conway2008-10-031-28/+3
| | | | | | | | | cluster: improved join protocol, fixed race conditions. client/ConnectionHandler,ConnectionImpl: fixed connection close race causing client hang. src/qpid/sys/PollableQueue.h: fixed incorrect use of startWatch/stopWatch. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@701532 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1306Carl C. Trieloff2008-10-031-0/+79
| | | | | | | | - missing file from last commit git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@701413 13f79535-47bb-0310-9956-ffa450edef68
* QPID 1306Carl C. Trieloff2008-10-032-0/+2
| | | | | | | | | | - added QueueOptions helper - added tests for Queue Options helper. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@701397 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1306Carl C. Trieloff2008-09-301-4/+4
| | | | | | | | - resolve symbols for some platforms, between two tests git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@700518 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1306Carl C. Trieloff2008-09-301-13/+9
| | | | | | | | Cleaner consume check, pointed out by gsim. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@700516 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1306Carl C. Trieloff2008-09-301-0/+90
| | | | | | | | | | | | | | | | | This patch includes: - Optimistic Consume - Support for forcing Queue durable on cluster failure - Some cleanup on mgnt functions in Queue to inlines - Tests Still coming - header for client queue options - LVQ support bits. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@700489 13f79535-47bb-0310-9956-ffa450edef68
* Remove unused file.Alan Conway2008-09-302-101/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@700473 13f79535-47bb-0310-9956-ffa450edef68
* Added ScopedSuppressLogging, used to suppress expected error messages in tests.Alan Conway2008-09-254-47/+37
| | | | | | | For examples see src/tests/exception_test.cpp git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@698981 13f79535-47bb-0310-9956-ffa450edef68
* Cluster replicates session command sequence state and consumers to newcomers.Alan Conway2008-09-241-24/+25
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@698666 13f79535-47bb-0310-9956-ffa450edef68
* Additional policy testGordon Sim2008-09-231-0/+23
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@698054 13f79535-47bb-0310-9956-ffa450edef68
* Fixed error handling session-busy condition on broker.Alan Conway2008-09-222-23/+29
| | | | | | | Added accessors to iterate over broker::SemanticState consumers. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@697951 13f79535-47bb-0310-9956-ffa450edef68
* Refactoring of queue/queue-policy:Gordon Sim2008-09-211-34/+113
| | | | | | | | | | | | - moved some logic out of Queue.cpp into QueuePolicy.cpp - moved QueuedMessage definition into its own header file - added checks for requeue and dequeue - split QueuePolicy logic into different sub classes Added ability to request old messages to be discareded to make room for new ones when configured limit has been reached. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@697603 13f79535-47bb-0310-9956-ffa450edef68
* DumpClient send connections & session IDs to new members.Alan Conway2008-09-211-17/+29
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@697446 13f79535-47bb-0310-9956-ffa450edef68
* Support floats and doubles in field tables.Gordon Sim2008-09-191-0/+35
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@697269 13f79535-47bb-0310-9956-ffa450edef68
* Added support for nested field tables & arrays within a field table.Gordon Sim2008-09-191-0/+40
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@697076 13f79535-47bb-0310-9956-ffa450edef68
* Clean up unused members/testsAlan Conway2008-09-192-123/+0
| | | | | | | | qpid/broker/SemanticState.h,.cpp,SessionState.h: removed unused members. tests/DumpClientTest.cpp: unused, remove. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@697075 13f79535-47bb-0310-9956-ffa450edef68
* Dump shared state to new cluster members.Alan Conway2008-09-181-79/+88
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@696788 13f79535-47bb-0310-9956-ffa450edef68
* Modified return codes for txtest: returns 1 if check fails; 2 if exception ↵Kim van der Riet2008-09-181-4/+6
| | | | | | is thrown; 0 otherwise. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@696729 13f79535-47bb-0310-9956-ffa450edef68
* Refactor Cluster logic into separate handlers for Joining & Member modes.Alan Conway2008-09-181-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@696657 13f79535-47bb-0310-9956-ffa450edef68
* Fix race in cluster join protocol.Alan Conway2008-09-161-3/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@696003 13f79535-47bb-0310-9956-ffa450edef68