summaryrefslogtreecommitdiff
path: root/cpp/src/tests
Commit message (Collapse)AuthorAgeFilesLines
* LVQ queue option for no acquireCarl C. Trieloff2008-12-161-0/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@727166 13f79535-47bb-0310-9956-ffa450edef68
* Added the ASF license header to the following filesRajith Muditha Attapattu2008-12-1625-0/+500
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@726952 13f79535-47bb-0310-9956-ffa450edef68
* Added ASF license to makefilesGordon Sim2008-12-153-0/+56
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@726710 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1527: Added exclusive option to SubscriptionSettings and accompanying test.Gordon Sim2008-12-101-6/+17
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@725484 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1526: add checks for exclusive ownership plus tests to verify they are ↵Gordon Sim2008-12-101-1/+1
| | | | | | executed git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@725483 13f79535-47bb-0310-9956-ffa450edef68
* This is related to QPID-1523Rajith Muditha Attapattu2008-12-101-2/+16
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@725303 13f79535-47bb-0310-9956-ffa450edef68
* Cluster: Option --cluster-read-max configures read-to-redeliver flow-control.Alan Conway2008-12-091-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@724857 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1514: Add check for presence of key to FieldTable::erase()Gordon Sim2008-12-041-0/+19
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@723263 13f79535-47bb-0310-9956-ffa450edef68
* clean upCarl C. Trieloff2008-12-032-631/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@722737 13f79535-47bb-0310-9956-ffa450edef68
* cluster: add Event size to encoded header.Alan Conway2008-12-032-0/+632
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@722728 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1497: Ensure policy count and size reflect transactionality of dequeuesGordon Sim2008-12-011-0/+57
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@722200 13f79535-47bb-0310-9956-ffa450edef68
* Fix setting of accept mode in perftest which appears to be back-to-front.Gordon Sim2008-11-281-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@721446 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1485: check required group is set etc when running failover test (patch ↵Gordon Sim2008-11-271-0/+24
| | | | | | from mgoulish@redhat.com). git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@721275 13f79535-47bb-0310-9956-ffa450edef68
* Backed out last change; not sure it actually makes sense.Gordon Sim2008-11-271-36/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@721258 13f79535-47bb-0310-9956-ffa450edef68
* Ensure broker doesn't hang waiting for async enqueue to complete on shutdown.Gordon Sim2008-11-271-1/+36
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@721256 13f79535-47bb-0310-9956-ffa450edef68
* * QPID-1488: test that policy pointer is setGordon Sim2008-11-271-0/+7
| | | | | | | | | * don't flow to disk for null store implementation * add checks for undeflow in queue policy git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@721166 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1489: Tidy epoll code to remove a valgrind warning on 32bit Linux:Andrew Stitcher2008-11-261-7/+0
| | | | | | | | - We weren't initialising all 64 bits of a union that was being passed to epoll_ctl on 32 bit Linuxes git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@720978 13f79535-47bb-0310-9956-ffa450edef68
* Removed mistakenly commited lines.Alan Conway2008-11-261-4/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@720954 13f79535-47bb-0310-9956-ffa450edef68
* Cluster.cpp: Fixed last-node-standing logic, better logging.Alan Conway2008-11-263-4/+9
| | | | | | | Shlib.cpp: added file name to errors messages. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@720924 13f79535-47bb-0310-9956-ffa450edef68
* Fixed problem of recurring xids (0, 1, 2...) on successive txtest runs which ↵Kim van der Riet2008-11-261-7/+9
| | | | | | can cause journal txn recover failures. The xid is now the 36-char string representation of a UUID and should have a great test-to-test diversity. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@720910 13f79535-47bb-0310-9956-ffa450edef68
* Fix typo.Alan Conway2008-11-261-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@720897 13f79535-47bb-0310-9956-ffa450edef68
* cluster_test.cpp: Extended testUnacked to cover acquired, accepted but not ↵Alan Conway2008-11-251-3/+23
| | | | | | completed case. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@720585 13f79535-47bb-0310-9956-ffa450edef68
* Prevent cluster module being loaded twice if module is also installed.Gordon Sim2008-11-251-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@720528 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1478: ensure concurrent publishers work correctly (as well as reported ↵Gordon Sim2008-11-241-0/+56
| | | | | | assertion, the test uncovered a potential deadlock due to bounds being expanded before frames were added to queue). git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@720251 13f79535-47bb-0310-9956-ffa450edef68
* tests/failover_soak.cpp: Only load cluster module, reduces logging clutter.Alan Conway2008-11-241-3/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@720248 13f79535-47bb-0310-9956-ffa450edef68
* tests/failover_soak.cpp: add unique log-prefix per broker.Alan Conway2008-11-241-1/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@720246 13f79535-47bb-0310-9956-ffa450edef68
* Reduce logging noise from NullMessageStore: log "persistence disabled" once ↵Alan Conway2008-11-242-2/+2
| | | | | | at start up, not on every action. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@720243 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1464 - Moved qmf console API out of python/qpid and into python/qmfTed Ross2008-11-201-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@719359 13f79535-47bb-0310-9956-ffa450edef68
* Replaced boost.spirit-based URL parser with simple recursive descent parser.Alan Conway2008-11-201-25/+28
| | | | | | | | | | | | | boost.spirit has some known thread-safety issues and appears to be causing qpid clients to crash in several scenarios. The new parser is trivially thread safe and relatively easy to extend. It's a simple recursive descent parser, sufficient for simple grammars like those used in URL formats. It's not intended to be a full-featured parser framework like spirit. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@719317 13f79535-47bb-0310-9956-ffa450edef68
* Added some extra test options.Gordon Sim2008-11-203-15/+24
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@719298 13f79535-47bb-0310-9956-ffa450edef68
* File descriptor leak in ForkedBroker test utility.Alan Conway2008-11-191-6/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@719062 13f79535-47bb-0310-9956-ffa450edef68
* tests/failover_soak: run a cluster with clients, kill and restart cluster ↵Alan Conway2008-11-197-9/+1058
| | | | | | members, verify client fail-over. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@719055 13f79535-47bb-0310-9956-ffa450edef68
* Optional cluster integration with cman quorum service.Alan Conway2008-11-182-7/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@718693 13f79535-47bb-0310-9956-ffa450edef68
* Remove optimistic consume options. Better default message for SSL errors.Alan Conway2008-11-172-48/+12
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@718277 13f79535-47bb-0310-9956-ffa450edef68
* Fixed erroneous test preventing cleanup of broker.Gordon Sim2008-11-171-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@718237 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1465: Fixed initialisation of minimum value so it is tracked correctlyAndrew Stitcher2008-11-141-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@714126 13f79535-47bb-0310-9956-ffa450edef68
* Ensure config file can be found (its in source tree not build tree)Gordon Sim2008-11-141-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@714121 13f79535-47bb-0310-9956-ffa450edef68
* Added further test script missing from distribution list and thus causing ↵Gordon Sim2008-11-141-0/+1
| | | | | | distcheck to fail if cluster module is enabled. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@714072 13f79535-47bb-0310-9956-ffa450edef68
* Added some failover capable testsGordon Sim2008-11-145-0/+516
| | | | | | | | Added grantCredit() method to subscription to allow simpler control of message delivery git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@714065 13f79535-47bb-0310-9956-ffa450edef68
* Add config.null file to distributed list or distcheck fails (todo: might be ↵Gordon Sim2008-11-141-0/+1
| | | | | | nicer to just generate that since its just an empty file) git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@714030 13f79535-47bb-0310-9956-ffa450edef68
* Added QPID_NO_MODULE_DIR to prevent client from loading libraries fromTed Ross2008-11-131-0/+1
| | | | | | | outside the tested software. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@713717 13f79535-47bb-0310-9956-ffa450edef68
* Added null config for SSL test. This test will malfunction if there isTed Ross2008-11-132-1/+2
| | | | | | | already a config file in the default location with SSL configuration in it. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@713583 13f79535-47bb-0310-9956-ffa450edef68
* Cluster replicates queues/exchanges with same encode/decode functions as the ↵Alan Conway2008-11-121-0/+24
| | | | | | | | | store. Removed un-necessary heap allocation in QPID_LOG statements. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@713425 13f79535-47bb-0310-9956-ffa450edef68
* fixed encoding of 64 bit types and added additional tests for 64 bit integersRafael H. Schloming2008-11-111-3/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@713160 13f79535-47bb-0310-9956-ffa450edef68
* * don't call exit after catching exception on any particular thread as the ↵Gordon Sim2008-11-101-5/+6
| | | | | | | | | | other threads may still be running and this causes core dumps * catch any errors that occur in shutdown git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@712691 13f79535-47bb-0310-9956-ffa450edef68
* Add Message callbacks for async completion.Alan Conway2008-11-062-0/+101
| | | | | | | | Add unit test for async completion. Add sync parameter to generated session functions, defaults as before but allows greater control. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@711998 13f79535-47bb-0310-9956-ffa450edef68
* Restrict connection close codes to the set defined in the specGordon Sim2008-11-061-28/+28
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@711989 13f79535-47bb-0310-9956-ffa450edef68
* Removed the --enforce-acl option. Instead if a policy file is specified acl ↵Rajith Muditha Attapattu2008-11-061-1/+1
| | | | | | | | | will be enabled. Also removed Route from the Object list and did a bit of code cleanup. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@711957 13f79535-47bb-0310-9956-ffa450edef68
* * fix bug causing last message to occasionally be lost on replayGordon Sim2008-11-061-0/+20
| | | | | | | | | * make presence of gaps an error condition in the resuming_receiver example * add ability to apply functor to replay buffer git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@711903 13f79535-47bb-0310-9956-ffa450edef68
* SubscriptionManager and Dispatcher were missing wait() methods meaning that ↵Gordon Sim2008-11-061-2/+2
| | | | | | if start was called there was no way to join with the dispatch thread and shutdown cleanly. Fixed by adding that method. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@711838 13f79535-47bb-0310-9956-ffa450edef68