summaryrefslogtreecommitdiff
path: root/python
Commit message (Collapse)AuthorAgeFilesLines
* added disclaimers and AMP license to all languagesRajith Muditha Attapattu2007-11-262-0/+132
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@598327 13f79535-47bb-0310-9956-ffa450edef68
* Merged revisions ↵Martin Ritchie2007-09-281-7/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 574555-574873,574875-574901,574903-575737,575739-575787,575789-575810,575812-577772,577774-577940,577942-578057,578059-578732,578734,578736-578744,578746-578827,578829-578844,578846-580022 via svnmerge from https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1 ........ r574555 | ritchiem | 2007-09-11 12:39:10 +0100 (Tue, 11 Sep 2007) | 1 line QPID-590 : Provide test case and resolution to prevent deadlock occurring on the client when two threads work on the AMQSession object. ........ r574585 | rgreig | 2007-09-11 14:02:19 +0100 (Tue, 11 Sep 2007) | 1 line QPID-591 Fixed to use dirname and avoid working directory issues. ........ r579115 | ritchiem | 2007-09-25 09:15:04 +0100 (Tue, 25 Sep 2007) | 1 line QPID-604 Commited patch provided by Aidan Skinner, to prevent NPE in FieldTable. ........ r579147 | ritchiem | 2007-09-25 10:27:22 +0100 (Tue, 25 Sep 2007) | 2 lines QPID-610 : Fix for Returned Messages leak. Augmented TestableMemoryMessageStore to allow it to query the MemoryMessageStore in use by the broker. New MessageReturnTest to verify no leak after messages have been returned. ........ r579198 | ritchiem | 2007-09-25 12:13:23 +0100 (Tue, 25 Sep 2007) | 1 line Update to start M2.1 python test broker on port 2100 (management 2101) and for the tests to use that broker. MODIFIED: to start on port 2000 and 2001 as this is M2 ........ r579229 | ritchiem | 2007-09-25 13:51:09 +0100 (Tue, 25 Sep 2007) | 3 lines QPID-610 : Fix for Get NO_ACK leak. The Java Client doesn't use get so augmented the python test_get to send persistent messages and used debugger to verify that messages were correctly removed. Verified that prior to this commit they would remain in the store. We need a management exchange to fully validate this with a python tests. NOTE: The setting of "delivery mode" property on M2.1 is not the same as on trunk where _ is use such as "delivery_mode". There is also no error that you have sent an incorrect property. ........ r579574 | ritchiem | 2007-09-26 11:42:54 +0100 (Wed, 26 Sep 2007) | 4 lines QPID-610 : Fix for ManagementConcole NO_ACK & Msg Expire leaks. Updated AMQQueueMBeanTest to verify the contents of the MessageStore after clearing. All the MC features only dequeued the message and didn't correctly decrementReference. The MessageReturnTest was failing due to the TimeToLive test causing messages to be left on the store. The expired messages were not having the reference decremented. ........ r579577 | ritchiem | 2007-09-26 11:45:21 +0100 (Wed, 26 Sep 2007) | 5 lines Updated TransportConnection to synchronize around the creation/destruction of VM Brokers. I had observed a ConcurrentModificationException in the KillAllVMBrokers(). This isn't good this suggests that the tests are overlapping. This fix won't address that problem but will stop any CModifications occuring. If there is test setup/teardown overlapping we should now see tests failing because the VM broker isn't there. Potentially addresses VM issues in QPID-596 ........ r579578 | ritchiem | 2007-09-26 11:48:14 +0100 (Wed, 26 Sep 2007) | 1 line Updated the version of slf4j-simple to be one that would work. Changing the systests/pom.xml to depend on this rather than the slf4j-log4j will cause maven to provide more details in the tests. All info and above is logged. ........ r579602 | rupertlssmith | 2007-09-26 12:27:45 +0100 (Wed, 26 Sep 2007) | 1 line Added timeout to perftests, to fail tests if message loss causes test to jam. ........ r579614 | rupertlssmith | 2007-09-26 12:51:14 +0100 (Wed, 26 Sep 2007) | 1 line Added timeout to perftests, wait limit set to higher value to stop threads thashing. ........ r579709 | ritchiem | 2007-09-26 17:40:09 +0100 (Wed, 26 Sep 2007) | 1 line Update for three tests that don't remove their VMBroker ........ r580022 | ritchiem | 2007-09-27 15:27:22 +0100 (Thu, 27 Sep 2007) | 18 lines QPID-596 : ConnectionStartTest was broken. I've fixed it but here is the problem for those like me that like to know why: Previously: The setUp method created a producer connection and then sent a message - This will result in that message being bounced as there is no consumer. The first test should fail but the test was wrong, which caused it to pass. There was an assert that was expecting the receive a message yet the test was recieve() == null !!!! The second test worked because the broker was not killed between tests This left the queue created so on the second run the message was delivered causing the test to succeed. Now: Fixed the InVM broker setup/teardown so the client is created first and the broker removed at the end of the test. Also updated the asserts to be more explicit rather than having the == null or !=null put that as assertNull/NotNull. ........ git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@580293 13f79535-47bb-0310-9956-ffa450edef68
* added release notesRajith Muditha Attapattu2007-07-201-0/+25
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@558168 13f79535-47bb-0310-9956-ffa450edef68
* Fixed failing python tests. The rather annoying way we unsubscribe ↵Martin Ritchie2007-05-171-2/+0
| | | | | | | | subscribers by creating new ones was causing a problem as the closing channel had been closed before the unsubscribe call. Java now passes all python tests git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@538912 13f79535-47bb-0310-9956-ffa450edef68
* Added test for channel.flowGordon Sim2007-05-091-0/+18
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@536585 13f79535-47bb-0310-9956-ffa450edef68
* Fixed cases where open channel was re-opened.Gordon Sim2007-02-211-6/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@510160 13f79535-47bb-0310-9956-ffa450edef68
* Proper fix to race condition where connection-close is sent by server. Now ↵Gordon Sim2007-01-231-15/+9
| | | | | | handle socket close on worker thread also. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@498983 13f79535-47bb-0310-9956-ffa450edef68
* QPID-275 : Patch supplied by Rob Godfrey - Update list of expected failures ↵Robert Greig2007-01-191-14/+0
| | | | | | in Python test git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@497779 13f79535-47bb-0310-9956-ffa450edef68
* Locked Channel::close() due to race.Gordon Sim2007-01-181-7/+13
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@497404 13f79535-47bb-0310-9956-ffa450edef68
* Modified handling of reason for closing in peer to work around race between ↵Gordon Sim2007-01-184-3/+7
| | | | | | | | | | | | worker and reader where a connection.close is followed by the socket closing (this is a bit of a hack). Modified test for queue_purge to do cleanup on new connection. Separated testing of scenario where closed channel is used from that where an unopened channel is used. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@497342 13f79535-47bb-0310-9956-ffa450edef68
* QPID-275 : (Patch supplied by Rob Godfrey) Fixes to allow broker to pass ↵Robert Greig2007-01-102-16/+2
| | | | | | more of the Python tests git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@494769 13f79535-47bb-0310-9956-ffa450edef68
* use pythonized names to reference spec constantsRafael H. Schloming2007-01-041-11/+11
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@492730 13f79535-47bb-0310-9956-ffa450edef68
* add support for 0-9 style usage of the domain attribute, and added content ↵Rafael H. Schloming2007-01-041-3/+6
| | | | | | primitive type git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@492724 13f79535-47bb-0310-9956-ffa450edef68
* File tidy-up for AMQP version code: Removed old XSLT files; moved ↵Kim van der Riet2006-12-222-2/+2
| | | | | | cluster.asl into spec directory; renamed spec files to better reflect version notation; updated java, c++ and python files to reference new names. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@489715 13f79535-47bb-0310-9956-ffa450edef68
* Added license.Rafael H. Schloming2006-12-201-1/+19
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@489180 13f79535-47bb-0310-9956-ffa450edef68
* Simple setup.py scriptRafael H. Schloming2006-12-201-0/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@489179 13f79535-47bb-0310-9956-ffa450edef68
* Changed assertTrue(x) to assertEquals(True, x) as older version od pyunit ↵Gordon Sim2006-12-071-2/+2
| | | | | | seems not to have the former. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@483471 13f79535-47bb-0310-9956-ffa450edef68
* Adding license filesCarl C. Trieloff2006-11-292-0/+223
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@480694 13f79535-47bb-0310-9956-ffa450edef68
* Fixes for cleaning up behind tests that fail on re-run if broker is not ↵Gordon Sim2006-11-221-2/+2
| | | | | | restarted. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@478287 13f79535-47bb-0310-9956-ffa450edef68
* Some fixes and tests for bugs uncovered during testing of persistence.Gordon Sim2006-11-172-7/+43
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@476108 13f79535-47bb-0310-9956-ffa450edef68
* update Apache licenses to the current versionStephen Vinoski2006-11-1024-273/+393
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@473568 13f79535-47bb-0310-9956-ffa450edef68
* added default for timestampRafael H. Schloming2006-11-081-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@472608 13f79535-47bb-0310-9956-ffa450edef68
* removed dead codeRafael H. Schloming2006-11-081-1/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@472606 13f79535-47bb-0310-9956-ffa450edef68
* More reorg to separate APR/posix code, work in progress.Alan Conway2006-11-081-1/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@472545 13f79535-47bb-0310-9956-ffa450edef68
* Hid locking within exchange registry, switched to shared_ptr for exchanges, ↵Gordon Sim2006-10-311-3/+33
| | | | | | added some extra error handling and tests. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@469599 13f79535-47bb-0310-9956-ffa450edef68
* c++ broker now passes the basic tx testsGordon Sim2006-10-302-4/+29
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@469243 13f79535-47bb-0310-9956-ffa450edef68
* Added test for simple commit and rollback.Gordon Sim2006-10-174-0/+163
| | | | | | | | | Updated 'failing' lists Fix for amqp methods with no arguments git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@464943 13f79535-47bb-0310-9956-ffa450edef68
* Implementation of basic_get.Gordon Sim2006-10-112-2/+61
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@462729 13f79535-47bb-0310-9956-ffa450edef68
* Implementation and tests for basic_qos (i.e. prefetching)Gordon Sim2006-10-101-3/+94
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@454677 13f79535-47bb-0310-9956-ffa450edef68
* git-svn-id: ↵Alan Conway2006-09-275-35/+81
| | | | https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@450556 13f79535-47bb-0310-9956-ffa450edef68
* Moved ack tests to basic class, added test for requeueing on recovery.Gordon Sim2006-09-272-44/+101
| | | | | | | | Implemented requeuing on recovery. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@450504 13f79535-47bb-0310-9956-ffa450edef68
* Initial implementation of basic_ack & basic_recoverGordon Sim2006-09-271-0/+45
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@450434 13f79535-47bb-0310-9956-ffa450edef68
* Close channels on fatal errors to prevent hangs, provide useful stack trace.Alan Conway2006-09-251-0/+54
| | | | | | | Stated test module for the testlib itself. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@449763 13f79535-47bb-0310-9956-ffa450edef68
* Close channels on fatal errors to prevent hangs, provide useful stack trace.Alan Conway2006-09-252-7/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@449750 13f79535-47bb-0310-9956-ffa450edef68
* Added tests for basic_cancel and for handling of invalid channel ids.Gordon Sim2006-09-222-0/+42
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@448881 13f79535-47bb-0310-9956-ffa450edef68
* Updated test for fix in broker to use un-named exchange as the default ↵Gordon Sim2006-09-221-2/+2
| | | | | | (rather than amq.direct) git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@448851 13f79535-47bb-0310-9956-ffa450edef68
* Implemented topic pattern matching for the TopicExchange.Alan Conway2006-09-213-30/+67
| | | | | | | | | | | Corrected default bindings to use the exchange named "" rather than "amqp.direct". Added python and unit tests for all of the above. Minor improvements to testlib.py, also some tests for testlib itself. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@448624 13f79535-47bb-0310-9956-ffa450edef68
* Import of qpid from etp:Rafael H. Schloming2006-09-1926-0/+3000
URL: https://etp.108.redhat.com/svn/etp/trunk/blaze Repository Root: https://etp.108.redhat.com/svn/etp Repository UUID: 06e15bec-b515-0410-bef0-cc27a458cf48 Revision: 608 git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@447994 13f79535-47bb-0310-9956-ffa450edef68