summaryrefslogtreecommitdiff
path: root/qpid/java/systests
Commit message (Collapse)AuthorAgeFilesLines
* QPID-3260: remove defunct java/management/tools/qpid-cli moduleRobert Gemmell2011-05-161-31/+37
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1103727 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3254Rajith Muditha Attapattu2011-05-111-4/+44
| | | | | | | Added test cases for creating durable subscriptions for various address strings. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1102103 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2759: Remove defunct jmxremote.access file user management rights ↵Robert Gemmell2011-05-104-4/+0
| | | | | | | | | | | | | | manipulation abilities. 1) Removed remaining jmx access functionality. 2) Removed references to security/jmx/access from all existing configuration files. 3) Made ServerConfiguration#validateConfiguration reject config files that still contain the security/jmx/access element in order to promote good end-user understanding of configuration. For JMX: 1) setRights now throws UnsupportedOperationException with message. 2) createUser(string,string,bool,bool,bool) throws UnsupportedOperationException iff any of the bool args are true i.e. the user attempts to give a user access JMX rights 3) Deprecated createUser(string,string,bool,bool,bool) in favour of new two arg form createUser(string,string) 4) viewUsers changes to always return admin, read, and write items as false. Applied patch from Keith Wall <keith.wall@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1101483 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3142: remove incorrectly added wrapping check on alternative cleanup optionRobert Gemmell2011-04-181-8/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1094445 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3182Rajith Muditha Attapattu2011-04-061-28/+36
| | | | | | | | | Added a test case to cover the above issue. This class can use a bit of refactoring and some consolidation of test cases. Hoping to do that soon. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1089554 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3166: updates based on review feedback from Keith WallRobert Gemmell2011-03-281-25/+24
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1086169 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3166: add system test using multiple batch transacted producers with ↵Robert Gemmell2011-03-272-2/+250
| | | | | | multiple consumers using unique selectors. Exposes issue detailed in QPID-3165. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1086039 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2930Rajith Muditha Attapattu2011-03-221-1/+1
| | | | | | | | Removed the explicit use of addressing in the test case to enable it to be run under any profile. This seems better than excluding it from the default and 0.8 profiles as the test doesn't really have anything to do with addressing. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1084414 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2930Rajith Muditha Attapattu2011-03-221-3/+13
| | | | | | | | | I had checked in an incomplete test case with rev 1082719 I had made certain changes to the test case for testing another potential fix, but forgot to revert it back to the original before committing. Re applied the changes to adequately test the issue. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1084048 13f79535-47bb-0310-9956-ffa450edef68
* Added a test case for the issue highlighted by QPID-2930Rajith Muditha Attapattu2011-03-171-0/+28
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1082719 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2959Rajith Muditha Attapattu2011-03-171-0/+2
| | | | | | | | | Added a temp hack to get the testReplyToWithNamelessExchange passing with the java.0.10 test profile. In doing so I realized that "qpid.declare_exchanges" has no affect on the producer side. Therefore I added a check in BasicMessageProducer_0_10.java to check this flag before issuing an exchange_declare. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1082715 13f79535-47bb-0310-9956-ffa450edef68
* Added testReplyToWithNamelessExchange as a test case for QPID-2959Rajith Muditha Attapattu2011-03-171-33/+32
| | | | | | | | | | | | Added testReplyToWithCustomExchange as a test case for QPID-3011 Removed testAddressBasedReplyTo as the above test cases cover it adequately. Currently the testReplyToWithNamelessExchange fails with the java.0.10 test profile. This is due to the default being BURL and the replyTo address is evaluated as a BURL and as part of the logic an exchange declare is being set. The C++ broker does seem to ignore the exchange declare of a known type (the nameless exchange in this case), while the java broker throws an exception. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1082709 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3142: enable tests to run against a copy of an existing work directoryRobert Gemmell2011-03-151-1/+30
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1081858 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3109Rajith Muditha Attapattu2011-03-141-0/+16
| | | | | | | Added a test case to cover a producer created with a null destination (where a valid destination is supplied each time send is invoked). git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1081467 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3143Rajith Muditha Attapattu2011-03-141-0/+15
| | | | | | | | | | | Removed the line which sets the create option to 'always'. Please note that the default create option is set to 'never'. Therefore if just a queue name is specified the client will throw an exception if that queue is not present in the broker. However this check will only be performed when a producer or consumer is created using that destination. Also modified the existing test case to verify the default and the explicit create case. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1081460 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2732Rajith Muditha Attapattu2011-03-111-50/+46
| | | | | | | Refactored the test a bit and added a test for default reliability modes for Topics and Queues. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1080417 13f79535-47bb-0310-9956-ffa450edef68
* 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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@1061862 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2942: disable management SSL by default, update config.xml to use ↵Robert Gemmell2010-11-141-0/+2
| | | | | | keystore path from example keystore creation script and move systest keystore config to the systest config override file. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1035026 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@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@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@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@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@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@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@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@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@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@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@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@992856 13f79535-47bb-0310-9956-ffa450edef68