summaryrefslogtreecommitdiff
path: root/cpp/src/tests
Commit message (Collapse)AuthorAgeFilesLines
* Added test coverage for the CLI utilitiesTed Ross2009-01-093-1/+207
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@733108 13f79535-47bb-0310-9956-ffa450edef68
* Ensure that if no store is loaded we don't flow to disk, but revert to ↵Gordon Sim2009-01-071-0/+28
| | | | | | rejecting messages. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@732482 13f79535-47bb-0310-9956-ffa450edef68
* This is related to QPID-1558.Rajith Muditha Attapattu2009-01-071-2/+44
| | | | | | | The test case test_group_and_user_with_same_name covers the error condition in QPID-1545 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@732466 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1560: add support for a qpid.exclusive-binding option on direct ↵Gordon Sim2009-01-071-0/+22
| | | | | | exchange that causes the binding specified to be the only one for the given key. I.e. if there is already a binding at this exchange with this key it will be atomically updated to bind the new queue. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@732297 13f79535-47bb-0310-9956-ffa450edef68
* Work on the low level IO code:Andrew Stitcher2009-01-063-23/+125
| | | | | | | | | * Introduce code so that you can interrupt waiting for a handle and receive a callback that is correctly serialised with the IO callbacks for that handle git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@732177 13f79535-47bb-0310-9956-ffa450edef68
* Add option to use single connection for all producers, and consumers to test ↵Carl C. Trieloff2009-01-061-6/+25
| | | | | | high queue count configurations without using many physical connections. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@732096 13f79535-47bb-0310-9956-ffa450edef68
* * Cyrus SASL intgeration for c++ clientGordon Sim2009-01-062-1/+11
| | | | | | | | * SASL security layer support for c++ client and broker git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@732082 13f79535-47bb-0310-9956-ffa450edef68
* Add option to use single connection for all producers, and consumers to test ↵Carl C. Trieloff2009-01-061-5/+16
| | | | | | high queue count configurations without using many physical connections. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@732071 13f79535-47bb-0310-9956-ffa450edef68
* cpp/src/tests/ForkedBroker.h: keep tests quiet, set --log-enable=error+Alan Conway2009-01-051-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@731751 13f79535-47bb-0310-9956-ffa450edef68
* Minor logging fixes.Alan Conway2009-01-051-1/+11
| | | | | | | | cpp/src/tests/BrokerFixture.h: make tests quiet, log with error+ qpid/broker/Daemon.cpp: print to stderr in parent process if child fails. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@731739 13f79535-47bb-0310-9956-ffa450edef68
* Update test in line with change to default logging level (see r731649).Gordon Sim2009-01-051-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@731734 13f79535-47bb-0310-9956-ffa450edef68
* - browse correction, to update replacement message on browseCarl C. Trieloff2008-12-301-0/+5
| | | | | | | | - correct stats for lvq messages git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@730031 13f79535-47bb-0310-9956-ffa450edef68
* Fixed to run correctly in VPATH build.Alan Conway2008-12-291-13/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@729935 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1412 - c++ implementation of the QMF client APITed Ross2008-12-192-2/+47
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@728132 13f79535-47bb-0310-9956-ffa450edef68
* Handle package name changes in Fedora10: openais->corosync cman->cmanlibAlan Conway2008-12-171-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@727583 13f79535-47bb-0310-9956-ffa450edef68
* options name re-name to be more explicit & better testCarl C. Trieloff2008-12-171-5/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@727517 13f79535-47bb-0310-9956-ffa450edef68
* 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