summaryrefslogtreecommitdiff
path: root/python
Commit message (Collapse)AuthorAgeFilesLines
...
* Added broker wait timeout to broker test frameworkKim van der Riet2010-08-101-1/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@984058 13f79535-47bb-0310-9956-ffa450edef68
* Fix test race conditions causing cluster_tests.py:management_test to hang.Alan Conway2010-08-101-13/+13
| | | | | | | | Got rid of expect_fail, ignore exceptions in the caller. Avoid concurrent calls to _cleanup, call only from from wait/poll. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@984017 13f79535-47bb-0310-9956-ffa450edef68
* Removed finally - Python before 2.5 did not allow finally together with ↵Jonathan Robie2010-08-092-4/+4
| | | | | | specific exceptions. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@983743 13f79535-47bb-0310-9956-ffa450edef68
* Changed conditional assignment to vanilla if/then/else, for compatibility ↵Jonathan Robie2010-08-091-2/+9
| | | | | | with older Python. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@983718 13f79535-47bb-0310-9956-ffa450edef68
* fixed heartbeatingRafael H. Schloming2010-08-092-4/+40
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@983597 13f79535-47bb-0310-9956-ffa450edef68
* Fix race conditions in brokertest.py and cluster_tests.py.Alan Conway2010-08-041-6/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@982309 13f79535-47bb-0310-9956-ffa450edef68
* Remove prefix in broker logs for brokertest.py.Alan Conway2010-08-031-1/+1
| | | | | | | Prefix is redundant and makes it more difficult to compare logs with diff. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@982003 13f79535-47bb-0310-9956-ffa450edef68
* fixed bug in flow control logic; added testsRafael H. Schloming2010-08-023-15/+57
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@981474 13f79535-47bb-0310-9956-ffa450edef68
* default ports for reconnect_urlsRafael H. Schloming2010-07-141-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@964151 13f79535-47bb-0310-9956-ffa450edef68
* fixed parsing of failover URLs; fixed driver to notice when reconnect_urls ↵Rafael H. Schloming2010-07-142-12/+22
| | | | | | is dynamically changed git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@964044 13f79535-47bb-0310-9956-ffa450edef68
* eliminate spurious error logging and reconnect attemptsRafael H. Schloming2010-07-132-2/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@963825 13f79535-47bb-0310-9956-ffa450edef68
* fixed missign import and added test case for reconnect_urlsRafael H. Schloming2010-07-133-7/+22
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@963803 13f79535-47bb-0310-9956-ffa450edef68
* corrected whitespaceRafael H. Schloming2010-07-131-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@963800 13f79535-47bb-0310-9956-ffa450edef68
* removed old python examplesRafael H. Schloming2010-07-1334-2813/+29
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@963786 13f79535-47bb-0310-9956-ffa450edef68
* Fix error introduced in r963409 causing "AttributeError: Broker instance has ↵Alan Conway2010-07-131-1/+1
| | | | | | no attribute 'pid'" git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@963737 13f79535-47bb-0310-9956-ffa450edef68
* Fix test framework error causing "AttributeError: Popen instance has no ↵Alan Conway2010-07-121-2/+2
| | | | | | attribute '_clean'" git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@963409 13f79535-47bb-0310-9956-ffa450edef68
* fixed payload of None for text/plain messagesRafael H. Schloming2010-07-122-2/+20
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@963280 13f79535-47bb-0310-9956-ffa450edef68
* convert ttl from seconds to millisecondsRafael H. Schloming2010-07-082-2/+14
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@961824 13f79535-47bb-0310-9956-ffa450edef68
* Defer delivery of messages in cluster-unsafe context.Alan Conway2010-07-051-9/+7
| | | | | | | | | | | | | | | Messages enqueued in a cluster-safe context are synchronized across the cluster. However some messages are delivered in a cluster-unsafe context, for example raising a link established event occurs the connection thread of the establishing connection. This fix deferrs such messages by multicasting them so they can be re-delived in a cluster safe context. See https://bugzilla.redhat.com/show_bug.cgi?id=611543 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@960681 13f79535-47bb-0310-9956-ffa450edef68
* fixed auth username for saslRafael H. Schloming2010-06-301-1/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@959333 13f79535-47bb-0310-9956-ffa450edef68
* added accessor for auth_usernameRafael H. Schloming2010-06-303-0/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@959326 13f79535-47bb-0310-9956-ffa450edef68
* fixed concurrent closeRafael H. Schloming2010-06-303-42/+162
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@959289 13f79535-47bb-0310-9956-ffa450edef68
* fix mangling for addresses that are NoneRafael H. Schloming2010-06-281-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@958547 13f79535-47bb-0310-9956-ffa450edef68
* add uuid prefix to addresses beginning with hash(#)Rafael H. Schloming2010-06-251-0/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@958083 13f79535-47bb-0310-9956-ffa450edef68
* fix timeout tests to not leave queues lying aroundRafael H. Schloming2010-06-251-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@958077 13f79535-47bb-0310-9956-ffa450edef68
* make sure we initialize properties even if application_headers is NoneRafael H. Schloming2010-06-251-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@958060 13f79535-47bb-0310-9956-ffa450edef68
* added support for x-amqp-0-10.{app-id,content-encoding,routing-key}Rafael H. Schloming2010-06-253-5/+22
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@958055 13f79535-47bb-0310-9956-ffa450edef68
* added optional timeouts to {connection,session,sender,receiver}.close() as ↵Rafael H. Schloming2010-06-255-25/+148
| | | | | | well as connection.detach() and {session,sender}.sync() git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@958037 13f79535-47bb-0310-9956-ffa450edef68
* added full support for unreliable, at-least-once, and at-most-once ↵Rafael H. Schloming2010-06-242-18/+68
| | | | | | reliability options git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@957644 13f79535-47bb-0310-9956-ffa450edef68
* Make management+cluster test more aggressive.Alan Conway2010-06-231-3/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@957337 13f79535-47bb-0310-9956-ffa450edef68
* Changed README to README.txt throughout the project for consistency. Removed ↵Jonathan Robie2010-06-231-0/+0
| | | | | | gentools/README.txt, which described Velocity. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@957201 13f79535-47bb-0310-9956-ffa450edef68
* reset reconnect delay after successful connectRafael H. Schloming2010-06-171-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@955462 13f79535-47bb-0310-9956-ffa450edef68
* don't always set the sync bit on sendRafael H. Schloming2010-06-162-8/+31
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@955414 13f79535-47bb-0310-9956-ffa450edef68
* performance tweaks for receive: added configurable threshold for issuing ↵Rafael H. Schloming2010-06-162-5/+21
| | | | | | credit; don't disable byte credit more than necessary; avoided n-squared loop for generating acks git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@955296 13f79535-47bb-0310-9956-ffa450edef68
* fix for python 2.3Rafael H. Schloming2010-06-151-1/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@954901 13f79535-47bb-0310-9956-ffa450edef68
* added back values method for backwards compatibilityRafael H. Schloming2010-06-151-2/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@954787 13f79535-47bb-0310-9956-ffa450edef68
* Update for changes to names of qpid-send and qpid-receive.Alan Conway2010-06-141-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@954558 13f79535-47bb-0310-9956-ffa450edef68
* Minor adjustment to option definitions for Python 2.3Gordon Sim2010-06-093-10/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@953044 13f79535-47bb-0310-9956-ffa450edef68
* brokertest.py: fix ready() test to create a session as well as a connection.Alan Conway2010-06-081-2/+6
| | | | | | | | The change in r952692 means that just creating a connection will return before a clustered broker is fully initialized. Creating a session will block till the broker is initialized. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@952786 13f79535-47bb-0310-9956-ffa450edef68
* Fixed sporadic failure of cluster_tests.py sasl_testAlan Conway2010-06-041-3/+3
| | | | | | | - added missing initializer for cluster::Connection::inConnectionNegotiation - brokertest.py: fixed formatting of log excerpt in exceptions. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@951452 13f79535-47bb-0310-9956-ffa450edef68
* Add tail of broker log to exception message when broker fails to start.Alan Conway2010-06-031-9/+13
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@951050 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2637: Mark connection as failed if read from socket failsGordon Sim2010-06-021-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@950472 13f79535-47bb-0310-9956-ffa450edef68
* Don't use guest/guest default username/password, use None instead (this ↵Gordon Sim2010-06-011-2/+2
| | | | | | allows sasl implementation to infer the correct choice while retaining the ability to override it should that be desired) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@949971 13f79535-47bb-0310-9956-ffa450edef68
* Fixed: authentication with bad credentials causes cluster broker to exit.Alan Conway2010-05-271-10/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@948969 13f79535-47bb-0310-9956-ffa450edef68
* Use new API clients qpid_send, qpid_receive instead of sender/receiver in ↵Alan Conway2010-05-171-5/+17
| | | | | | brokertests.py git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@945385 13f79535-47bb-0310-9956-ffa450edef68
* Increase retry timeout, previous value was causing occasional invald test ↵Alan Conway2010-05-071-1/+1
| | | | | | failures. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@942132 13f79535-47bb-0310-9956-ffa450edef68
* Correct brokertest.retry logic.Alan Conway2010-05-061-4/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@941852 13f79535-47bb-0310-9956-ffa450edef68
* XML Exchange example.Jonathan Robie2010-05-051-0/+77
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@941497 13f79535-47bb-0310-9956-ffa450edef68
* Fix race condition in store+cluster tests.Alan Conway2010-05-031-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@940573 13f79535-47bb-0310-9956-ffa450edef68
* Ensure proper error message is reported when connection is closed by brokerGordon Sim2010-04-281-4/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@938815 13f79535-47bb-0310-9956-ffa450edef68