summaryrefslogtreecommitdiff
path: root/qpid/cpp/src/tests
Commit message (Collapse)AuthorAgeFilesLines
* Apply PIMPL pattern to client::Completion and client::Future.Alan Conway2009-04-231-0/+13
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@767896 13f79535-47bb-0310-9956-ffa450edef68
* Fix valgrind error in PollableCondition unit test.Alan Conway2009-04-221-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@767669 13f79535-47bb-0310-9956-ffa450edef68
* Unit test for PollableCondition.Alan Conway2009-04-222-1/+119
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@767666 13f79535-47bb-0310-9956-ffa450edef68
* Apply PIMPL pattern to qpid::client::Message.Alan Conway2009-04-205-6/+54
| | | | | | | Hide implementation of Message, move framing::MethodContent and framing::TransferContent out of public API. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@766899 13f79535-47bb-0310-9956-ffa450edef68
* Small change to ClusterFixture which allows a different path to the ↵Kim van der Riet2009-04-172-16/+17
| | | | | | cluster.so lib for persistence testing git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@766110 13f79535-47bb-0310-9956-ffa450edef68
* Override the executable used by ForkedBroker by setting an env. var.Alan Conway2009-04-162-3/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@765685 13f79535-47bb-0310-9956-ffa450edef68
* Removed defunct interop_runner test, was never updated from 0-8 channel API.Alan Conway2009-04-159-793/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@765370 13f79535-47bb-0310-9956-ffa450edef68
* Clean up temporary data directories in tests.Alan Conway2009-04-154-19/+30
| | | | | | | | ForkedBroker.cpp: create/delete tmp data directory if passed arg TMP_DATA_DIR. failover_soak.cpp, PartialFailure.cpp: use tmp data dir feature of ForkedBroker git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@765365 13f79535-47bb-0310-9956-ffa450edef68
* Fix bug in SocketProxy causing occasional hangs in tests.Alan Conway2009-04-151-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@765338 13f79535-47bb-0310-9956-ffa450edef68
* Update client test to use SubscriptionManager.Alan Conway2009-04-151-26/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@765249 13f79535-47bb-0310-9956-ffa450edef68
* Fix regression: close shadow connections belonging to brokers that have left ↵Alan Conway2009-04-142-1/+60
| | | | | | the cluster. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@764783 13f79535-47bb-0310-9956-ffa450edef68
* Trivial fix for gcc 4.3 compiler (F10) "may be used uninitialized" errorKim van der Riet2009-04-131-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@764424 13f79535-47bb-0310-9956-ffa450edef68
* Fix issues when cluster is run with persistence enabled.Alan Conway2009-04-1114-106/+468
| | | | | | | | | | - Handle partial failures (e.g. due to disk error): failing brokers shut down, others continue. - Enable persistence in cluster tests. - Correct message status in DeliveryRecord updates. - Remove qpid.update queue when update complete - avoid it becoming persistent git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@764204 13f79535-47bb-0310-9956-ffa450edef68
* Add durability option to the cpp failover_soak test. Alan Conway2009-04-094-19/+54
| | | | | | | From Mick Goulish: https://issues.apache.org/jira/browse/QPID-1796, git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@763722 13f79535-47bb-0310-9956-ffa450edef68
* cpp/src/tests/failover_soak.cpp: allow it to run with all modules loaded or ↵Alan Conway2009-03-312-32/+39
| | | | | | | | | only the cluster module. cpp/src/tests/run_failover_soak: run failover_soak with all modules loaded by default. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@760458 13f79535-47bb-0310-9956-ffa450edef68
* Lib tweaksStephen D. Huston2009-03-2717-164/+164
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@759318 13f79535-47bb-0310-9956-ffa450edef68
* Enable SocketProxy portability to Windows; fixes QPID-1765Stephen D. Huston2009-03-261-41/+70
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@758852 13f79535-47bb-0310-9956-ffa450edef68
* Fix some bashishms in test scriptsManuel Teira Paz2009-03-172-11/+24
| | | | | | | | Replace usage of seq (not widely available) with a while loop. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@755161 13f79535-47bb-0310-9956-ffa450edef68
* In testLoggerFormat:Manuel Teira Paz2009-03-171-1/+1
| | | | | | | | | | Change Logger::FUNCTION test to be aware that not all compilers may implement a __func__ macro -> Compare directly with BOOST_CURRENT_FUNCTION result git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@755160 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1741: Fix for later versions of boost test API (from Jan Sarenik)Gordon Sim2009-03-171-1/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@755152 13f79535-47bb-0310-9956-ffa450edef68
* Changes to build DLLs instead of static libs on Windows; primarily added ↵Stephen D. Huston2009-03-1225-447/+560
| | | | | | decorators to exported names. Fixes QPID-1673 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@753014 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1729: trivial cleanup for shutdown in the case that perftest loses ↵Gordon Sim2009-03-121-2/+4
| | | | | | connection(s). git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@752937 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1724: Allow replication events to be shared across multiple federations ↵Gordon Sim2009-03-102-1/+131
| | | | | | bridges. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@752290 13f79535-47bb-0310-9956-ffa450edef68
* Added cluster ACL test, disabled for now as it exposes a memory leak in the ↵Alan Conway2009-03-101-35/+48
| | | | | | SASL client. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@752154 13f79535-47bb-0310-9956-ffa450edef68
* configure.ac:Manuel Teira Paz2009-03-108-11/+23
| | | | | | | | | | | | | | - Add a SOCKLIBS definition, to define needed network libraries in Solaris src/tests/failover_soak.cpp - Replace usage of timersub with direct code, since timersub appears to be non-posix. src/tests/Makefile.am - Link against $(SOCKLIBS) when needed src/tests/* - Some qualifying needed for the Sun compiler git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@752019 13f79535-47bb-0310-9956-ffa450edef68
* Fix cluster TTL: replicte expiry information to newcomers.Alan Conway2009-03-092-4/+16
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@751760 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1721: Fixes for replication between clusters when new members are addedGordon Sim2009-03-092-2/+130
| | | | | | | | | | * suppress event generation during node catch up * ensure sequence counters used for duplicate detection are synchronised in both primary and dr clusters when new members join * connect queue with the event manager within queue registry rather than adapter as the latter path is not used for catchup git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@751719 13f79535-47bb-0310-9956-ffa450edef68
* Ack outstanding messages before closingGordon Sim2009-03-091-0/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@751713 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1719: extra test for federated cluster (includes node failure which ↵Gordon Sim2009-03-062-2/+27
| | | | | | requires a wait so only run on make check-long) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@750989 13f79535-47bb-0310-9956-ffa450edef68
* Moved a variable inside an assertion to avoid unused variable error when the ↵Jonathan Robie2009-03-061-2/+1
| | | | | | assertion is undefined. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@750930 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1719: Ensure management object id remain in sync across cluster.Gordon Sim2009-03-061-5/+35
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@750910 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1718: Ensure that cancellation caused by e.g. ↵Gordon Sim2009-03-051-0/+18
| | | | | | SubscriptionManager::get() doesn't close dispatch queue. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@750622 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1717: Check that target queue for replication events exists before ↵Gordon Sim2009-03-051-0/+6
| | | | | | attempting to process it. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@750586 13f79535-47bb-0310-9956-ffa450edef68
* cluster: fix delivery-property.exchange-name set on updated messages.Alan Conway2009-03-053-17/+17
| | | | | | | | | Logging improvements, useful for debugging: - qpid/SessionState.cpp: show frame bodies with command IDs. - assign cluster-wide id number to each Event. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@750456 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1710: update test inline with modified method signature.Gordon Sim2009-03-041-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@749951 13f79535-47bb-0310-9956-ffa450edef68
* cpp/src/tests/ForkedBroker.cpp: supress misleading exceptions with kill -9.Alan Conway2009-03-032-4/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@749756 13f79535-47bb-0310-9956-ffa450edef68
* cluster::UpdateClient added missing error handling.Alan Conway2009-03-034-38/+96
| | | | | | | Minor improvements to failover_soak tests. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@749730 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1707 Mick Goulish. Improved failover_soak codeAlan Conway2009-03-031-8/+19
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@749627 13f79535-47bb-0310-9956-ffa450edef68
* Replicate connection decoder fragments to new members.Alan Conway2009-03-022-2/+2
| | | | | | | | | | | | Refactoring: - Merge Decoder into ConnectionMap. - Process cluster controls in event queue thread. - Use counter not pointer for connection ID, avoid re-use. - Do all processing in event queue thread to avoid races (temporary pending performance measurements) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@749473 13f79535-47bb-0310-9956-ffa450edef68
* Remove -Wno-missing-field-initializers which is not supported by gcc3.4Andrew Stitcher2009-03-022-3/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@749432 13f79535-47bb-0310-9956-ffa450edef68
* - Reworked DispatchHandler state machine to eliminate race conditionsAndrew Stitcher2009-03-022-11/+68
| | | | | | | | | | | particularly when deleting a DispatchHandle - Reworked Poller interrupt mechanism eliminating locking problems and to support DispatchHandler changes - Beefed up the DispatchHandler test program so that it's a fair torture test of the DispatchHandler code git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@749406 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1705: added unit test for heartbeat firing after connection has failed overGordon Sim2009-03-021-0/+85
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@749313 13f79535-47bb-0310-9956-ffa450edef68
* Sorry, forgot a crucial line in my last 'fix'!Gordon Sim2009-02-271-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@748640 13f79535-47bb-0310-9956-ffa450edef68
* Fix test to account for failure after last message has been delivered, but ↵Gordon Sim2009-02-271-4/+8
| | | | | | before the session and connection are closed. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@748624 13f79535-47bb-0310-9956-ffa450edef68
* Add browse option, useful for ad-hoc testing.Gordon Sim2009-02-261-6/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@748252 13f79535-47bb-0310-9956-ffa450edef68
* Added a couple of extra options that are useful in ad-hoc testing.Gordon Sim2009-02-261-7/+21
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@748222 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1693: Improvements to failover soak test from mgoulish@redhat.comGordon Sim2009-02-261-40/+129
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@748081 13f79535-47bb-0310-9956-ffa450edef68
* Add FrameDecoder unit test, update comments in Cluster.h/cpp.Alan Conway2009-02-252-1/+75
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@747947 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1685: Fixed ring queue policyGordon Sim2009-02-251-0/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@747744 13f79535-47bb-0310-9956-ffa450edef68
* Replace struct name to avoid clashing with similarly named struct in ↵Gordon Sim2009-02-251-3/+3
| | | | | | ClientSessionTest. This was causing seg fault when -O0 was specified in CXXFLAGS. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@747709 13f79535-47bb-0310-9956-ffa450edef68