summaryrefslogtreecommitdiff
path: root/java/systests/src
Commit message (Collapse)AuthorAgeFilesLines
...
* QPID-2732Rajith Muditha Attapattu2011-03-091-0/+91
| | | | | | | | | | Adding a test case for the reliability options. It verifies that, 1. The correct accept modes are set for unreliable and at-least-once. 2. Exceptions are thrown for unsupported unreliable modes. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1079986 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2984: Add statistics generation for broker message deliveryAndrew Donald Kennedy2011-03-087-0/+906
| | | | | | Port of QPID-2932 changes from 0.5.x-dev branch to trunk. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1079043 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2985: Add producer configurable transaction timeoutsAndrew Donald Kennedy2011-03-084-0/+742
| | | | | | Port of QPID-2864 changes from 0.5.x-dev branch to trunk. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1079042 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3113: Exclude ChannelCloseTest from 0-10 profiles onlyAndrew Donald Kennedy2011-03-041-58/+46
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1077988 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3111: Check for 404 error code explicitly in DynamicQueueExchangeCreateTestAndrew Donald Kennedy2011-03-041-10/+12
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1077953 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3109Rajith Muditha Attapattu2011-03-031-0/+58
| | | | | | | | | The isQueueExist method is modified to handle the exception when a queue has been deleted. Both the Message producer and consumer now delete the queue if the delete option is selected and will not check if the queue is empty or if there are any subscribers on it. Also added test cases. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1076670 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3106Rajith Muditha Attapattu2011-03-031-0/+48
| | | | | | | Instead of checking if it's an instance of AMQQueue, the code the now checks if it's an instance of AMQDestination and javax.jms.Queue to cover the AMQAnyDestination case. The same check is done for topics. Added test cases for QueueReceivers, TopicSubscribers and DurableTopicSubscribers using the new addressing scheme. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1076516 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3098Rajith Muditha Attapattu2011-03-011-3/+23
| | | | | | | | This commit allows a MapMessage to accept an UUID object in it's setObject method. Added test cases for directly setting UUID objects or inside Maps and Lists that gets set into the MapMessage body. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1075961 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3090: quote the MBean ObjectName key values for the names of Queues, ↵Robert Gemmell2011-03-011-3/+8
| | | | | | Connections, Exchanges, and VirtualHosts instead of just remapping characters. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1075744 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3066: Correct conditions for running UTF8TestAndrew Donald Kennedy2011-02-171-23/+12
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1071642 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3008: Fix failover behaviour in 0-10 for QueueBrowserAutoAckTestAndrew Donald Kennedy2011-02-171-14/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1071631 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3047: Fix QueueDepthWithSelectorTest on 0-10Andrew Donald Kennedy2011-02-171-111/+30
| | | | | | Refactor test and fix 0-10 client session to flush acks git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1071620 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3054: remove unused java/systests/src/old_test contentsRobert Gemmell2011-02-147-1235/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1070497 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3029: actually set and negotiate the supported max num channels per ↵Robert Gemmell2011-02-042-8/+11
| | | | | | connection during connection handshake. Enable/make the 0-10 client use channel numbers 0 to N-1 in line with the spec, rather than 1-N. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1067210 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1670: Implement an UncaughtExceptionHandler to log exceptions causing ↵Robert Gemmell2011-02-041-16/+90
| | | | | | | | | the permature termination of Qpid client threads. Applied patch from Keith Wall <keith.wall@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1067108 13f79535-47bb-0310-9956-ffa450edef68
* Modified the test cases according to the fix made for QPID-3019Rajith Muditha Attapattu2011-01-281-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1064437 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3013: use an equation based delta threshold that takes processor count ↵Robert Gemmell2011-01-271-8/+5
| | | | | | into consideration git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1064108 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3022: enable the logging tests and fix issues causing failures due to ↵Robert Gemmell2011-01-275-6/+36
| | | | | | minor differences between 0-10 and 0-9 behaviour git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1064086 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3023: enable using the ServerConfiguration directly instead of ↵Robert Gemmell2011-01-273-58/+23
| | | | | | leveraging an internal broker (via IBBC) to load the vhost config required for the tests git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1064085 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3013: create an initial connection to force thread pool startup before ↵Robert Gemmell2011-01-211-0/+6
| | | | | | the test proceeds, as these may be processor-count dependant and throw the final result off git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1061863 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3012: reduce the cycle count such that 100 connections are used instead ↵Robert Gemmell2011-01-211-1/+1
| | | | | | of 1000 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1061862 13f79535-47bb-0310-9956-ffa450edef68
* Added a test case for QPID-2737, QPID-2774, QPID-2928Rajith Muditha Attapattu2010-11-051-3/+47
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1031364 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2339Rajith Muditha Attapattu2010-10-181-0/+22
| | | | | | | Added a test case for the above JIRA. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1023879 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2418Rajith Muditha Attapattu2010-10-181-1/+8
| | | | | | | The test "testDurSubSameMessageSelector" fails when run against the cpp.noprefetch profile as the queue depth check is fails for the following reason. The test sends 5 matching and non matching messages to the queue alternatively. Since the C++ broker does not implement selectors all 10 messages are in the queue. When run with the noprefetch profile, messages are fetched one at a time. Therefore when the last matching message is read, there is still one more message (one that does not match) left in the queue. Therefore the queue depth check needs to take this into account. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1023644 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2418Rajith Muditha Attapattu2010-10-141-1/+9
| | | | | | | | | | | | The tests "testResubscribeWithChangedSelectorNoClose" and "testDurSubAddMessageSelectorNoClose" are failing against the c++ broker due to wrong assumptions made in the test cases. It creates subscriptions, then sends messages and tries to check the queue depth. However the c++ broker (not sure what the java broker behaviour is) will imediately send the messages to the java client. All though the messages are received in no-acquire mode the broker will not show them as available unless the client releases them. I added a connection stop immediately before the messages were sent, preventing the broker from sending them to the consumer. And then I added a connection start soon after the queue depth is querried. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1022722 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2839 Add channel (CHN) Operational Loggin on 0-10Andrew Donald Kennedy2010-10-031-19/+31
| | | | | | Committed patch from SorinS <ssuciu@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1003985 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2835 Implement CON Operational Logging on 0-10Andrew Donald Kennedy2010-10-031-13/+31
| | | | | | Committed patch from SorinS <ssuciu@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1003984 13f79535-47bb-0310-9956-ffa450edef68
* add some missing Apache licence headers to files in the Java treeRobert Gemmell2010-09-262-0/+40
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1001542 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2857 : Address issues found by running FindBugs against the Java codebaseRobert Godfrey2010-09-1214-109/+122
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@996393 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2840: have the tests set a message prefix to facilitate scraping ↵Robert Gemmell2010-09-083-1/+14
| | | | | | messages from the test output git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@995103 13f79535-47bb-0310-9956-ffa450edef68
* Added a failure path for testRejectPolicy if an exception is not thrown.Rajith Muditha Attapattu2010-09-081-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@995065 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2838, QPID-2843: test readability tweaksRobert Gemmell2010-09-082-5/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@994963 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2418: updates to fix test failures when using the 0-10 client test ↵Robert Gemmell2010-09-053-18/+25
| | | | | | | | | | | profiles. Use a transacted session when querying for queue counts following consumption, as the 0-10 client batches auto-acks asynchronously. Always send the selector filter argument even if empty, to allow querying the brokers via 0-10 to detect whether the selector is being added/removed/modified at subscribe time. Enable the Java broker to perform argument matching during the 0-10 isBound check. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@992856 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2418: Unsubscribe existing open durable subscriptions when changing ↵Robert Gemmell2010-09-053-46/+307
| | | | | | | | | subscription. Remove duplication in implementations. Applied patch from Andrew Kennedy <andrew.international@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@992855 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2845Rajith Muditha Attapattu2010-09-031-0/+89
| | | | | | | Adjusted the address string to include arguments inside the arguments map instead of putting them directly in x-declare. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@992352 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2843: Ensure that a MNG-1004 message is logged when using the platform ↵Robert Gemmell2010-09-031-2/+2
| | | | | | agent (and indicates use of the platform agent), merge the BRK-1004 message text with the previously used stdout startup log message. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@992330 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2845Rajith Muditha Attapattu2010-09-031-1/+1
| | | | | | | Forgot to include the correction to the LVQTest address string. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@992305 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2844Rajith Muditha Attapattu2010-09-021-1/+36
| | | | | | | Added a test case to cover the above JIRA. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@992090 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2845Rajith Muditha Attapattu2010-09-021-11/+17
| | | | | | | Modified the existing test cases to use the correct format when specifying x-declare arguments. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@992064 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2843: Remove old logging and use the operational logging framework to ↵Robert Gemmell2010-09-022-48/+42
| | | | | | provide startup information, directed to both stdout and the log file. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@992003 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2838: add common code for repeated validations within test classes, ↵Robert Gemmell2010-09-0118-543/+449
| | | | | | helper methods for log scraping/dumping git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@991561 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2802: Add support for a status-logging hierarchy, such that the ↵Robert Gemmell2010-08-261-1/+1
| | | | | | Log4jMessageLogger may use this to allow individual on/off toggling of each status message. Combine the RootLogger and RawLogger interfaces. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@989734 13f79535-47bb-0310-9956-ffa450edef68
* Added a test case for QPID-2809 to ensure that if the same destination is ↵Rajith Muditha Attapattu2010-08-201-0/+36
| | | | | | used in topics, each subscription will get it's own queue unless a named queue is used. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@987507 13f79535-47bb-0310-9956-ffa450edef68
* Tidy up various badly named testsAndrew Donald Kennedy2010-08-132-1/+35
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@985259 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2799: Convert address with underscores for temp queue nameAndrew Donald Kennedy2010-08-131-54/+37
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@985202 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2775: use the JMX interface to reload the configuration synchronously, ↵Robert Gemmell2010-08-092-35/+27
| | | | | | helping to avoid situations where the timeout is insufficient for the SIGHUP process to complete git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@983805 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2787: Move QpidTestCase to Common test module so that any test can ↵Robert Gemmell2010-08-061-120/+0
| | | | | | | | | inherit from it, allowing exclusions to be applied. Add ability to gather the class name of the message store associated with the test profile in use. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@982986 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2744: Unify 0-10 and 0-8 error messages for invalid object types in ↵Andrew Donald Kennedy2010-08-011-2/+13
| | | | | | properties git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@981231 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2763: Record old store class name.Andrew Donald Kennedy2010-07-281-1/+8
| | | | | | | This fixes the MemoryMessageStoreLoggingTest where a check is made for the broker store class name. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@979999 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2763: Alerting tests do not need to create a message storeAndrew Donald Kennedy2010-07-271-1/+12
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@979767 13f79535-47bb-0310-9956-ffa450edef68