summaryrefslogtreecommitdiff
path: root/qpid/cpp/src/tests
Commit message (Collapse)AuthorAgeFilesLines
* QPID-4265: fix broken windows buildGordon Sim2013-10-241-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1535389 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4265: test closing of receiver with concurrent fetchGordon Sim2013-10-241-2/+47
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1535355 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4984: WIP: Copy of work over from branch to trunk. Non-tx works with ↵Kim van der Riet2013-10-221-0/+24
| | | | | | some known bugs, tx not yet operational. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1534736 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5246: update ACL code to recognise self-destruct policyGordon Sim2013-10-221-2/+13
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1534613 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4582, QPID-5215: fix linking errors for clock_gettimeGordon Sim2013-10-151-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1532408 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5229: tests for reject and release over 1.0Gordon Sim2013-10-152-1/+66
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1532311 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5227: QPID-5230: added tests for redelivered flag on browse and releaseGordon Sim2013-10-151-0/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1532310 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4582: Fixed unit legacystore unit test to remove warning under RHEL5Andrew Stitcher2013-10-091-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1530681 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5215: Import rest of legacy store tests and utilities from original codeAndrew Stitcher2013-10-0863-39/+12588
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1530301 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4582: Get legacystore unit tests workingAndrew Stitcher2013-10-086-120/+55
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1530300 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5115: AMQP 1.0 client support built in to qpidmessaging for all platformsCharles E. Rolke2013-10-044-5/+1
| | | | | | | | | | | This commit disposes of the amqpc library and moves the functions into the qpidmessaging library. Now any client that loads qpidmessaging gets amqp0-10 and amqp1.0 selectable through the connection protocol option. C++ brokers still must load the amqp library to enable 1.0 support. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1529235 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5197: Remove obsolete --cluster-durable/persistLastNode options in C++ ↵Alan Conway2013-10-041-17/+0
| | | | | | and python. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1529198 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5199: take 0-10 header segment into account for message sizeGordon Sim2013-10-033-87/+98
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1528852 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: HA Fix typo in qpid-cluster-benchmark.Alan Conway2013-09-261-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1526725 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5169: CRAM-MD5, not CRAM-MD; a patch from Ernie AllenJustin Ross2013-09-261-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1526637 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5156: prevent tests for assert functionality with swigged client ↵Gordon Sim2013-09-251-0/+13
| | | | | | failing on RHEL5 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1526166 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5142: require swig client to be explicitly selected for testsGordon Sim2013-09-241-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1525969 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5156: add tests for assert functionalityGordon Sim2013-09-242-1/+129
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1525859 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5149: truncate over large routing keys when translating from 1.0 to 0-10Gordon Sim2013-09-201-0/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1525043 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4952: Fix swigged python tests which were disabled by previous commitGordon Sim2013-09-191-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1524669 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: added -l USER option to rsynchosts script.Alan Conway2013-09-181-2/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1524567 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5143: don't include transport in default url as it overrides any ↵Gordon Sim2013-09-182-2/+2
| | | | | | connection option git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1524506 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: missing includes that are really neededAndrew Stitcher2013-09-164-0/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1523828 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4944: HA fix failure of test_failover_send_receive on slow machines.Alan Conway2013-09-132-2/+2
| | | | | | | | | | At the end of this test, receivers read remaining messages on queues. Previously the test limited the max depth at 1024, but this was too high on some slower machines and caused a timeout. The test now limits the max depth to 50, which seems to work on a range of machines. There's no impact on the effectiveness of the test for failover. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1523094 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4944: HA re-enable test_failover_send_receiveAlan Conway2013-09-123-26/+35
| | | | | | | | | | | | | Appears to have been fixed at this point on trunk, not clear which checkins are responsible. Test ran for 48 hours with no failures. Other minor changes: - Enable test_failover_send_receive - Increase heartbeat interval. - Reduce capacity of senders in failover test to be more aggressive. - Use HaBrokerTest as test base git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1522711 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5132: HA crash in test_tx_join_leave caused by double delete of queue. Alan Conway2013-09-111-5/+2
| | | | | | | | | | | | | Fix crash caused by double-delete of transaction queue when a broker joins while a transaction is in progress. - Ignore mode for non-participants in TX. - Try/catch around queue & exchange deletion. - Consistent use of QueueRegistry::get when queues are required. - Remove unnecessary exchange delete warning. - Remove HaBroker::delete, use realm@username when deleting queues. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1522031 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4327: HA support for TX transactions - fix TX error messages.Alan Conway2013-09-092-8/+7
| | | | | | | | | - Ignore un-replicated queues when replicating transactions. - Clean up cancel logic in QueueReplicator, causing "no such subscription" errors. - Remove unnecessary exchange delete warnings - ha_test.py: Shorter timeout for starting cluster brokers. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1521192 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4327: HA support for TX transactions - fix auth bugs.Alan Conway2013-09-092-7/+13
| | | | | | | | - Set auth info on status check connections - Clean up status check loging - Use realm@username for authentication name (was using just username) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1521190 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: HA minor fixes to test framework & comments.Alan Conway2013-09-042-3/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1520108 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5111: Make library dependencies clearer in build systemAndrew Stitcher2013-09-031-25/+24
| | | | | | | - Use -as-needed to link libraries to avoid unnecessary libraries - Tidyup mess with nss and qpid-proton libraries git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1519866 13f79535-47bb-0310-9956-ffa450edef68
* QPID:4327: HA support for TX transactions - fix cleanup at transaction end.Alan Conway2013-09-031-14/+34
| | | | | | | Was not removing transaction exchange at end of transaction. Fix to transaction end logic. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1519846 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Remove obsolete cluster_test.cpp test.Alan Conway2013-09-031-1231/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1519806 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Remove obsolete qpid-cluster and qpid-cluster-store tools.Alan Conway2013-09-032-94/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1519739 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5109: remove invalid options from qpid-configGordon Sim2013-09-021-20/+12
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1519480 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5106: handle annotations properly and add option to control whether ↵Gordon Sim2013-09-022-1/+3
| | | | | | annotations are nested or not on fetch() git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1519466 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4327: HA clean up transaction artifacts at end of TX.Alan Conway2013-08-303-29/+71
| | | | | | | | | | - Backups delete transactions on failover. - TxReplicator cancel subscriptions when transaction is finished. - TxReplicator rollback if destroyed prematurely. - Handle special case of no backups for a tx. - ha_tests.py: new and modified tests to cover the new functionality. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1518982 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5040: fix for string and symbol types on AmqpValue section (also clear ↵Gordon Sim2013-08-301-4/+5
| | | | | | message on fetch()) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1518955 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4708: support for reconnect over AMQP 1.0Gordon Sim2013-08-281-3/+64
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1518233 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5086: send completions when restarting after stop, in order to move ↵Gordon Sim2013-08-201-0/+26
| | | | | | window forward git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1515901 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5085: ensure messages released 'behind' a cursor on a priority queue ↵Gordon Sim2013-08-201-0/+20
| | | | | | don't get missed git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1515793 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5077: improvement to SASL logic to handle entirely asynchronous dialogueGordon Sim2013-08-151-2/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1514465 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5040: support for sending and receiving messages with AmqpValue sectionsGordon Sim2013-08-132-5/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1513536 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5060: remove exchange and durable for properties map, as they apply to ↵Gordon Sim2013-08-091-1/+1
| | | | | | topic itself rather than queue and are tracked by explicit properties git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1512245 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5051: fixes for swig test failures on RHEL5 (and the failure to detect ↵Gordon Sim2013-08-071-7/+3
| | | | | | them) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1511483 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Remove use of "with" statement to support older versions of PythonAlan Conway2013-08-061-1/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1511051 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4327: HA Handle brokers joining and leaving during a transaction.Alan Conway2013-08-052-7/+40
| | | | | | | | | | | During a transaction: - A broker leaving aborts the transaction. - A broker joining does not participate in the transaction - but does receive the results of the TX via normal replication. Clean up tx-queues when the transaction completes. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1510678 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Remove use of boost::make_shared, not availble on some older versions.Alan Conway2013-08-051-3/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1510596 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4327: HA Fix windows compile errors introduced by recent commits.Alan Conway2013-08-021-1/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1509861 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4327: HA TX transactions, blocking wait for prepareAlan Conway2013-08-013-12/+41
| | | | | | | | | | | Backups send prepare messages to primary, primary delays completion of prepare till all are prepared (or there is a failure). This is NOT the production solution - blocking could cause a deadlock. We need to introduce asynchronous completion of prepare without blocking. This interim solution allows testing on other aspects of TX support. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1509424 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4327: HA TX transactions: basic replication.Alan Conway2013-08-0110-85/+1474
| | | | | | | | | | | | | | | On primary a PrimaryTxObserver observes a transaction's TxBuffer and generates transaction events on a tx-replication-queue. On the backup a TxReplicator receives the events and constructs a TxBuffer equivalent to the one in the primary. Unfinished: - Primary does not wait for backups to prepare() before committing. - All connected backups are assumed to be in the transaction, there are race conditions around brokers joining/leavinv where this assumption is invalid. - Need more tests. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1509423 13f79535-47bb-0310-9956-ffa450edef68