summaryrefslogtreecommitdiff
path: root/qpid/tests/src
Commit message (Collapse)AuthorAgeFilesLines
* NO-JIRA: prevent interference from other tests by using unique queue nameGordon Sim2011-04-081-4/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1090169 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3132: Prevent threshold events triggering directly further threshold eventsGordon Sim2011-03-091-0/+15
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1079854 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3120: Consult alternate exchange on reroute if neededGordon Sim2011-03-071-1/+34
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1078763 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3107: If queue's alternate-exchange can't route message, try that ↵Gordon Sim2011-03-031-8/+117
| | | | | | exchange's alternate-exchange git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1076604 13f79535-47bb-0310-9956-ffa450edef68
* QPID-529: Added aliases for arguments that are more uniform with others in ↵Gordon Sim2011-03-021-7/+13
| | | | | | c++ broker git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1076207 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3087: use unique session name to avoid race where it collides with the ↵Gordon Sim2011-03-011-2/+3
| | | | | | detaching session that generated the exception git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1075915 13f79535-47bb-0310-9956-ffa450edef68
* NO_JIRA: reduced test timeoutGordon Sim2011-02-281-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1075335 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3087: fail rather than ignoring attempts to declare queues with bad ↵Gordon Sim2011-02-251-0/+48
| | | | | | arguments; ensure qpid-config can deal with different types of argument. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1074697 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2324: Raise 404 on cancellation if no such subscription exists.Gordon Sim2011-02-251-3/+13
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1074642 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2326: correct exception code for unknown exchange typeGordon Sim2011-02-251-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1074634 13f79535-47bb-0310-9956-ffa450edef68
* QPID-529: Additional test: verify re-route works against priority enabled queuesGordon Sim2011-02-231-0/+32
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1073724 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3000: Added optional delay for auto-deletionGordon Sim2011-02-152-0/+38
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1071013 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3002: Removed accidentally duplicated test codeGordon Sim2011-02-151-62/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1070924 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3002: Configurable threshold alerts for queues; added spec change and ↵Gordon Sim2011-02-152-0/+125
| | | | | | tests missing from last commit git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1070914 13f79535-47bb-0310-9956-ffa450edef68
* QPID-529: Further adjustment for python 2.3Gordon Sim2011-02-111-4/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1069752 13f79535-47bb-0310-9956-ffa450edef68
* QPID-529: Adjust test to work on python 2.3 as wellGordon Sim2011-02-101-4/+18
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1069497 13f79535-47bb-0310-9956-ffa450edef68
* QPID-529: Priority queue implementationGordon Sim2011-02-103-0/+298
| | | | | | | | | | QPID-2104: LVQ enhancement These both required some refactoring of the Queue class to allow cleaner implementation of different types of behaviour. The in-memory storage of messages is now abstracted out behind an interface specified by qpid::broker::Messages which qpid::broker::Queue uses. Different implementations of that are available for the standard FIFO queue, priority queues and LVQ (I have also separated out the 'legacy' implementation of LVQ from the new version driven by QPID-2104). git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1069322 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2991: added message counts to connection stats; fixed xxxToClient statsGordon Sim2011-01-111-0/+30
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1057578 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2957 - Management methods on the broker don't work on newly created objectsTed Ross2010-11-231-0/+25
| | | | | | | A test and a fix are included. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1038231 13f79535-47bb-0310-9956-ffa450edef68
* Fix to r1028346: no point in throwing exception after queue has already been ↵Gordon Sim2010-11-101-75/+0
| | | | | | created, so just log error and revert to default (do this for floating point values also) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1033585 13f79535-47bb-0310-9956-ffa450edef68
* Add ASF licence to another couple filesRobert Gemmell2010-10-281-0/+18
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1028475 13f79535-47bb-0310-9956-ffa450edef68
* Fixes broker issues when max_count or max_size are invalid.Jonathan Robie2010-10-281-1/+75
| | | | | | | Accepts non-negative integer values, or strings containing the lexical representation of such values. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1028346 13f79535-47bb-0310-9956-ffa450edef68
* Now takes a set of implementations of each program, and tests ↵Jonathan Robie2010-08-191-243/+151
| | | | | | | | | | | | | | | implementations in each language against each other. For instance, for drain: drains = [ {'lang': 'CPP', 'command': cpp_examples_path + "drain" }, {'lang': 'PYTHON', 'command': python_examples_path + "drain"}, {'lang': 'JAVA', 'command': java_invoke + "org.apache.qpid.example.Drain"} ] Next step: allow these to be passed via the command line, using the same syntax. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@987305 13f79535-47bb-0310-9956-ffa450edef68
* Fixed timing problems with topic exchange test. Added support for broker ↵Jonathan Robie2010-07-211-14/+16
| | | | | | address to Java - it's now available for all three languages. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@966384 13f79535-47bb-0310-9956-ffa450edef68
* Removed extraneous output in Java programs by setting log4j to WARN.Jonathan Robie2010-07-201-13/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@965970 13f79535-47bb-0310-9956-ffa450edef68
* Configuration file for log4j - limits Java output.Jonathan Robie2010-07-201-0/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@965969 13f79535-47bb-0310-9956-ffa450edef68
* Fixed qpid-config parameter problem.Jonathan Robie2010-07-201-13/+19
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@965960 13f79535-47bb-0310-9956-ffa450edef68
* Added Java tests. (One test still fails ...)Jonathan Robie2010-07-191-21/+89
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@965674 13f79535-47bb-0310-9956-ffa450edef68
* Fixed race condition with setting up queues for subscriptions using ↵Jonathan Robie2010-07-161-9/+21
| | | | | | timeouts. Eliminated superfluous output. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@964948 13f79535-47bb-0310-9956-ffa450edef68
* Improved logging to easily identify tests. Changed content of messages - ↵Jonathan Robie2010-07-081-54/+102
| | | | | | each message now uses the name of the test as message content by default. Removed redundant popen.wait() calls after popen.communicate(). git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@961900 13f79535-47bb-0310-9956-ffa450edef68
* Restructured code using generic utility methods for sending / receiving / ↵Jonathan Robie2010-07-081-372/+127
| | | | | | | | | | | subscribing / listening, configurable by language. Added logging so it's clear which commands were executed. Status: Reliably fails when two subscriptions are used. One or more of the subscribe / listen tests generally fails in addition. Quite possibly a bug in the test. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@961788 13f79535-47bb-0310-9956-ffa450edef68
* Modified to ensure all subprocesses terminate before a test ends.Jonathan Robie2010-06-231-5/+59
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@957384 13f79535-47bb-0310-9956-ffa450edef68
* Unit tests based on examples shipped with the client APIs. Tests both the ↵Jonathan Robie2010-06-231-0/+496
| | | | | | | | | | examples and interop among the examples. Drain and spout are used heavily in these tests. These can be run from the source tree with no reconfiguration, or from a client installation by specifying the paths to the examples using environment variables. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@957349 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2688: ensure that unacked messages are requeued before autodeletion ↵Gordon Sim2010-06-221-0/+40
| | | | | | occurs when session closes git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@956988 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2429: Added extra test.Gordon Sim2010-03-041-0/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@919142 13f79535-47bb-0310-9956-ffa450edef68
* moved protocol tests from qpid/python to qpid/testsRafael H. Schloming2010-02-0524-0/+5858
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@906961 13f79535-47bb-0310-9956-ffa450edef68