summaryrefslogtreecommitdiff
path: root/qpid/tests
Commit message (Collapse)AuthorAgeFilesLines
* QPID-4710: [AMQP 1.0] Support for transactions in qpid::messaging C++ client.Alan Conway2015-02-272-0/+265
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implements the "transactional retire and settle immediately" option for transactions as specified in AMQP 1.0 in the qpid::messaging C++ client. NOTE: Transactions over AMQP 1.0 require proton 0.9 or greater. With older versions, attempting a transactions over AMQP 1.0 will raise a link-detached exception "Node not found: tx-transaction" 1. Added descriptor list to Variant with support in Encoder and PnData. Required to support transactions, need to be able to create described lists. Variant changes are source and binary compatible. A Variant now has a Variant::List of descripors which can be numeric or string. Nested descriptors are implemented by putting multiple descriptors in the list. Other minor changes: - Variant refactor: don't delete impl on every assignment. - Add Variant constructors that take a string encoding. (new constructors, not defaulted arguments, so the change is binary and source compatible.) - Growable buffer support for Encoder. - Printing described Variant prints descriptors in form @descriptor value 2. Added transaction support to AMQP 1.0 client code Added messaging/amqp/Transaction.h,cpp: transaction logic - communicate with coordinator, send declare/dischange messages. - add tx state info to transfers and acknowledgements. - Sync session after discharge. - A transactional session automatically acks any message retrieved by fetch/get to bring them into the transaction. This is consistent the 0-10 client. Minor fixes to existing client code: - Fix use of pn_drain API in C++ client to work with C++ and Java brokers. - Make amqp::Exception derive from qpid::Exception 3. Fixes to existing broker code: - Incoming.cpp fix: start async completion before processing message. - Delay accept of dischage message till commit is complete. - newSession - handle failover during session creation. 4. Added tests interop_tests.py: transaction tests that can run against an external broker, see comments. ha_tests.py: Enable transaction tests over AMQP 1.0. Minor test fixes: - brokertest.py don't set default logging if QPID_LOG env vars set. - brokertest.py Pass kwargs to broker() create function. - qpid-receive: capacity should never be larger than message count. - Accept user:pass as well as user/pass in Url. - brokertest.py: Always do a ready() check on all brokers. If proton < 0.9 is used, transaction tests will be skipped or will downgrade to the amqp0-10 protocol with a printed warning. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1662743 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6299: allow ring and lvq behaviours to be combinedGordon Sim2015-01-071-4/+52
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1650196 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6226: [Java Broker] Change queue.declare so that on the passive path, ↵Keith Wall2014-11-181-9/+43
| | | | | | | | exclusivity is verified if command has set the exclusive flag. Also strengthen the python tests. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1640390 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6116: [Python Client 08..091] Add ability to negotiate SASL mechanism ↵Keith Wall2014-09-251-1/+1
| | | | | | and add pure python implementations for SCRAM/CRAM/PLAIN mechanisms git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1627554 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6087: fix tests to expect inclusion of userid in sessions qmf nameGordon Sim2014-09-191-4/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1626220 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6110: Add manifest includes for license and notice filesJustin Ross2014-09-191-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1626184 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6081, QPID-6082: [Python Client Tests] Add python tests for verifying ↵Keith Wall2014-09-122-1/+160
| | | | | | the receipt of large messages occupying more than one frame (08-091) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1624545 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6085: [Python client] 08..091 implement sending/receiving of additional ↵Keith Wall2014-09-061-0/+26
| | | | | | property types git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1622952 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5813: fix up LICENSE + NOTICE etc filesRobert Gemmell2014-08-271-19/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1620850 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5813: Advance version numbers on trunk to 0.29Justin Ross2014-08-071-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1616587 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5921, QPID-5923: adjustments and exclusions for new tests using swigged ↵Gordon Sim2014-07-241-6/+17
| | | | | | client git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1613131 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5923: check requested node type when handling deleteGordon Sim2014-07-241-1/+30
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1613130 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5921: add missing clause to resolution logic for when only exchange ↵Gordon Sim2014-07-241-0/+58
| | | | | | exists but queue create was requested git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1613129 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5765: don't invoke on dangling pointerGordon Sim2014-05-141-0/+29
| | | | | | | | | Strictly speaking comparing anything against the old pointer isn't correct either, but this is harder to change and the only negative effect is that in the event that a new connection has the same pointer value, it would be incorrectly interpreted as 'local'. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1594633 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5600: Advance the version number on trunk to 0.29Justin Ross2014-03-201-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1579690 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5584: use more specific exception types where appropriateGordon Sim2014-02-251-0/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1571688 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5555 : Fix queue exclusivity issuesRobert Godfrey2014-02-181-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1569245 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5531: [C++ broker] Set timeout for every DTX transactionPavel Moravec2014-02-051-2/+18
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1564694 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5534: [C++ broker] Headers exchange can route a message to one queue ↵Pavel Moravec2014-02-031-0/+6
| | | | | | multiple times git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1563863 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5503: expose next_receiver through swig wrapper, add test for both 1.0 ↵Gordon Sim2014-01-221-0/+19
| | | | | | and 0-10 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1560395 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5336: Don't hardcode script interpreter locationAndrew Stitcher2013-11-141-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1541997 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5255: Change trunk version to 0.27Justin Ross2013-11-121-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1541283 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5301: support autodeleted exchangesGordon Sim2013-11-121-29/+78
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1541058 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5283: ensure queue has no consumers before granting exclusive ownershipGordon Sim2013-10-312-2/+20
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1537579 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5280: prevent bind/unbind of someone elses exclusive queueGordon Sim2013-10-311-0/+17
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1537498 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Fix hanging test test_discards_limit_overflow.Alan Conway2013-10-251-1/+1
| | | | | | The test was hanging while closing a connection, added a timeout. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1535801 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5248: close gap in tests by explicit adding receiver closeGordon Sim2013-10-251-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1535732 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5253: fix delivery count for browsed 1.0 messageGordon Sim2013-10-231-0/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1535048 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5199: take 0-10 header segment into account for message sizeGordon Sim2013-10-032-47/+52
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1528852 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5106: handle annotations properly and add option to control whether ↵Gordon Sim2013-09-021-1/+2
| | | | | | 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-4948: enable browsingGordon Sim2013-08-281-0/+22
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1518181 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4711: translate between structured content in AMQP 0-10 and 1.0Gordon Sim2013-08-135-25/+95
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1513537 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5051: fixes for swig test failures on RHEL5 (and the failure to detect ↵Gordon Sim2013-08-071-1/+1
| | | | | | them) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1511483 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4961: Change trunk version to 0.25Justin Ross2013-07-181-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1504343 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4988: Add test runs using swigged python clientGordon Sim2013-07-168-8/+261
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1503652 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4907: change qpidd default mode for QMF event and update publishing to ↵Kenneth Anthony Giusti2013-07-121-2/+1
| | | | | | use QMFv2 format only git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1502642 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4950: ensure exchange stats are updated with correct content size for ↵Gordon Sim2013-06-261-0/+33
| | | | | | messages git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1497024 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4591: patch from Ernie Allen to add queue sequence number to messagesGordon Sim2013-05-211-0/+80
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1485001 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4832: Split 0.8 python test ↵Alex Rudyy2013-05-131-0/+4
| | | | | | | | | | DefaultExchangeRuleTests.testDefaultExchange into 2 tests: testDefaultExchange testing that queue is automatically bound to a default exchange testDefaultExchangeExplicitBind testing explicit queue bind on a default exchange Exclude testDefaultExchangeExplicitBind from Java Broker python test profile git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1481824 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4796 - Fixed intermittent test failure in stats test.Ted Ross2013-05-011-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1478023 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4637: Change the Qpid version to 0.23Justin Ross2013-03-241-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1460486 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4632 - Improvement to queue threshold alertingTed Ross2013-03-081-13/+148
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1454601 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4543 - The Move-Messages method no longer returns an error if no ↵Ted Ross2013-01-211-0/+24
| | | | | | messages were moved. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1436517 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4377: Update trunk versions to 0.21Justin Ross2012-11-191-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1411381 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4422: removed tabs from the new testKeith Wall2012-11-091-9/+9
| | | | | | Applied patch from Philip Harvey <phil@philharveyonline.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1407440 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4422: Python Client (0-8..0-9) now allows "instance" client property to ↵Keith Wall2012-11-073-1/+81
| | | | | | be passed in order to allow re-subscribing to durable subscriptions. Centralised the creation of client properties such that this is only done in one place across all protocols. Also increased Python Client (0-8..0-9)'s diagnostic logging. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1406584 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4178: broker refactoringGordon Sim2012-08-106-22/+29
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1371676 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4111: Move trunk version numbers to 0.19Justin Ross2012-07-091-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1359235 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: ensure test cleans up when done to prevent interference with ↵Gordon Sim2012-06-271-1/+1
| | | | | | anything else git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1354588 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: increase test timeoutGordon Sim2012-06-261-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1353921 13f79535-47bb-0310-9956-ffa450edef68