summaryrefslogtreecommitdiff
path: root/java/systests
Commit message (Collapse)AuthorAgeFilesLines
* QPID-1136 : Provided a fix for the leak in UnacknowledgedMessage when ↵Martin Ritchie2008-06-131-161/+0
| | | | | | | | acking. Added a new InternalBrokerBaseCase for performing testing on the broker without using the client libraries. This allows for testing closer to AMQP. Further investigation is required to identify why the .Net was causing the refcounting problems that required the previous change to Unacknowledged message introducing this . git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.x@667561 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1119 : M2x commit : Addition of a System property to ↵Martin Ritchie2008-06-045-1/+577
| | | | | | | | | | | | AMQProtocolHandler.java to allow the syncWait default to be changed. To perform this a new SlowMessageStore has been added to the systest package. This allows all MessageStore methods to have a pre and/or post delay applied. This delay can be configured dynamically if you have a handle to the Store or via the XML configuration. The SlowMessageStore can also be used to wrap any existing MessageStore (Testing only carried out with the default MemoryMessageStore) To make testing easier on M2x VMTestCase has been modified to allow the test to simply configure logging levels and systemProperties. These are then reverted after the test has completed. These changes will naturally need more work to before they are merged to trunk which uses totally different methods for ClientProperties and for running tests. systests/pom.xml didn't have amqj.logging.level as a systemProperty hence setting it did nothing for the tests. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.x@663125 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1117 : Added tests for all other message types. Refactored the common ↵Martin Ritchie2008-06-031-4/+153
| | | | | | parts out of the objectTest. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.x@662818 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1092 : Changed toString to be String.valueOf(getObject())Martin Ritchie2008-06-031-0/+101
| | | | | | | Added MessageToStringTest, tests performing toString on Message before calling getObject(). git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.x@662770 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1103 :Changed VMTestCase to allow the creation of InVM brokers based on ↵Martin Ritchie2008-05-302-12/+90
| | | | | | a configuration file. Updated ApplicationRegistry as it was not correctly utilising the set configuration and always using AR 1. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.x@661739 13f79535-47bb-0310-9956-ffa450edef68
* Merged revisions 657859 via svnmerge from Martin Ritchie2008-05-201-15/+41
| | | | | | | | | | | | | https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid ........ r657859 | ritchiem | 2008-05-19 17:54:06 +0100 (Mon, 19 May 2008) | 1 line QPID-1066 : Removed isInfo wrapping. Added test that is missing from trunk from M2.x QueueDepthSelectorTest. ........ git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.x@658166 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1019 prevent messages being dequeued unecessarily, from rgodfreyAidan Skinner2008-05-051-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.x@653416 13f79535-47bb-0310-9956-ffa450edef68
* QPID-932 : Remove references to unusued constructor argument "browsedAcks" ↵Robert Godfrey2008-04-165-17/+10
| | | | | | of NonTransactionalContext git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@648669 13f79535-47bb-0310-9956-ffa450edef68
* Add licenscesAidan Skinner2008-03-314-1/+82
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@643153 13f79535-47bb-0310-9956-ffa450edef68
* QPID-874 use getQueueDepth properlyAidan Skinner2008-03-241-1/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@640426 13f79535-47bb-0310-9956-ffa450edef68
* QPID-872 : Adjusted TimeToLive test receive calls to use a wait of 1s(1000) ↵Martin Ritchie2008-03-241-3/+3
| | | | | | as 100ms was unreasonably short. This was causing test failures on a slower machine where no failure had really occurred. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@640422 13f79535-47bb-0310-9956-ffa450edef68
* QPID-868 : Removed the acl.config.xml from systests/etc and updated the ↵Martin Ritchie2008-03-212-226/+1
| | | | | | systests pom file to locate the one in broker/etc. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@639629 13f79535-47bb-0310-9956-ffa450edef68
* QPID-854 : Renamed logger class to be correct, Reverting change from 637176Martin Ritchie2008-03-201-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@639269 13f79535-47bb-0310-9956-ffa450edef68
* QPID-854 Resynchronise the _acceptor so that we don't hangAidan Skinner2008-03-201-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@639251 13f79535-47bb-0310-9956-ffa450edef68
* QPID 854 Add a connect delay to FailOverBaseCase so we don't end up in a ↵Aidan Skinner2008-03-191-1/+1
| | | | | | race condition where mina closes the broker. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@638926 13f79535-47bb-0310-9956-ffa450edef68
* QPID-841 : SimpleACLTest didn't close a client connectionMartin Ritchie2008-03-191-0/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@638816 13f79535-47bb-0310-9956-ffa450edef68
* QPID-854 : Removed cleanQueue requirement for now as a lot of tests are not ↵Martin Ritchie2008-03-191-1/+2
| | | | | | cleaning up correctly. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@638805 13f79535-47bb-0310-9956-ffa450edef68
* QPID-854Aidan Skinner2008-03-192-6/+21
| | | | | | | | AcknowledgeTest clean up messages that are left on the queue VMTestCase remove bogus DummyTestCase which causes problems with a lot of tests now that we check for queue cleanliness git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@638799 13f79535-47bb-0310-9956-ffa450edef68
* QPID-854 : Tests were failing as the new connection hadn't been started. ↵Martin Ritchie2008-03-192-21/+45
| | | | | | Also replaced purgeQueue with checkQueuesClean as the tests should ensure they have tidied up.. if they haven't then something has gone wrong. So purging will just hide that issue. Used a second connection in the QBAAT to validate the messages to be sure they are still there. This also fixes the issues with Transacted and ClientAck where the messages would of course go back on the queue as no ack or commit were performed. Using a new connection is also cleaner as it ensures the queue browsing has no side effects for other users of the system. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@638760 13f79535-47bb-0310-9956-ffa450edef68
* QPID-854 : Renabled the test as the cause was the lack of closing of the ↵Martin Ritchie2008-03-182-11/+13
| | | | | | purgeQueue connection in VMTestCase git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@638412 13f79535-47bb-0310-9956-ffa450edef68
* QPID-854 : Disabled one of the failover QueueBrowser tests as I believe it ↵Martin Ritchie2008-03-181-11/+15
| | | | | | to be a problem with mina and inVM broker. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@638322 13f79535-47bb-0310-9956-ffa450edef68
* QPID-841,QPID-854 : Reinstated SimpleACLTest and removed QueueBrowserTest ↵Martin Ritchie2008-03-171-2/+1
| | | | | | from the junit-toolkit run for now as the class has been renamed git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@637992 13f79535-47bb-0310-9956-ffa450edef68
* QPID-854 : Fixed QueueBrowser tests that use ClientAck and Transacted, which ↵Martin Ritchie2008-03-171-0/+35
| | | | | | appear to leave msgs behind per test. Even though each test should be on a new VM broker. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@637979 13f79535-47bb-0310-9956-ffa450edef68
* QPID-850 : Close client connection if it is appropriate. This was hanging ↵Martin Ritchie2008-03-171-0/+10
| | | | | | the tests because VMTestCase has a dummy test that causes a new connection to be init'd but never closed git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@637896 13f79535-47bb-0310-9956-ffa450edef68
* QPID-854 : This test required a change as a result of the QueueBrowser Tests. Martin Ritchie2008-03-141-16/+17
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@637176 13f79535-47bb-0310-9956-ffa450edef68
* QPID-854 : Added more tests for QueueBrowserMartin Ritchie2008-03-148-203/+808
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@637172 13f79535-47bb-0310-9956-ffa450edef68
* QPID-839 Use AMQish things to get the queue depth, elminating false negativesAidan Skinner2008-03-141-4/+11
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@637137 13f79535-47bb-0310-9956-ffa450edef68
* QPID-854 : Changes to the client to make the dispatcher responsible for ↵Martin Ritchie2008-03-142-35/+178
| | | | | | closing the queue browser when all the messages have been processed. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@637086 13f79535-47bb-0310-9956-ffa450edef68
* QPID-852 : Missed this file in the commit as the interface had changed.Martin Ritchie2008-03-141-5/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@637073 13f79535-47bb-0310-9956-ffa450edef68
* QPID-107 : Over zealous change set reduction removed an required importMartin Ritchie2008-03-101-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@635611 13f79535-47bb-0310-9956-ffa450edef68
* QPID-107 : Changes based on code review. Martin Ritchie2008-03-102-17/+15
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@635602 13f79535-47bb-0310-9956-ffa450edef68
* QPID-841 : Removed SimpleACLTest from the build until we can diagnose why it ↵Martin Ritchie2008-03-071-0/+1
| | | | | | occasionally fails to find a file on disk git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@634751 13f79535-47bb-0310-9956-ffa450edef68
* QPID-839 : Fixed the hanging issue with this test; as yet unable to ↵Robert Godfrey2008-03-071-5/+18
| | | | | | reproduce the test failure git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@634717 13f79535-47bb-0310-9956-ffa450edef68
* QPID-107 : Updated two test cases that can fail due to the session being ↵Martin Ritchie2008-03-031-0/+15
| | | | | | closed before we can attempt to use the connection. Also there is no way to get any exception that has occurred on the connection git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@633201 13f79535-47bb-0310-9956-ffa450edef68
* QPID-594 QPID-107 Updated Connection missing AMQAuthenticationException problemsMartin Ritchie2008-03-031-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@633111 13f79535-47bb-0310-9956-ffa450edef68
* Add licensce headerAidan Skinner2008-03-031-0/+18
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@633103 13f79535-47bb-0310-9956-ffa450edef68
* Import test fail scriptAidan Skinner2008-03-031-0/+70
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@633099 13f79535-47bb-0310-9956-ffa450edef68
* QPID-594 QPID-107 Updated Connection missing AMQAuthenticationException problemsMartin Ritchie2008-03-031-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@633088 13f79535-47bb-0310-9956-ffa450edef68
* QPID-107 : Fixed the left over ACL'd ApplicationRegistry from killing ↵Martin Ritchie2008-02-251-0/+1
| | | | | | subsequent tests. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@630892 13f79535-47bb-0310-9956-ffa450edef68
* QPID-107 : Missing acl example configMartin Ritchie2008-02-251-0/+229
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@630857 13f79535-47bb-0310-9956-ffa450edef68
* QPID-107 : Initial ACL implementation for review. Implemented Permissions : ↵Martin Ritchie2008-02-253-22/+615
| | | | | | | | | | | | Consume, Create, Publish. The Permissions are configured via XML in a user friendly way. Sections for consume, create and publish are currently used to further define Access and Bind internally. Access is granted to all users that have some permission. Bind rights are given to users with Create rights. Full details of the ACL design will be posted on the wiki : http://cwiki.apache.org/qpid/qpid-design-access-control-lists.html git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@630854 13f79535-47bb-0310-9956-ffa450edef68
* QPID-785: Make sure queue browser consumers are auto-close, add test for ↵Aidan Skinner2008-02-211-35/+53
| | | | | | | | | browsing an empty queue. Refactor QueueBrowserTest a little to split up responsibilities a bit. We should move the sendMessage stuff to a super class, there are at least 4 implementations of that kicking about. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@629824 13f79535-47bb-0310-9956-ffa450edef68
* QPID-790 : Performance ImprovementsRobert Godfrey2008-02-214-24/+27
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@629731 13f79535-47bb-0310-9956-ffa450edef68
* QPID-786 Remove bogus Failover timeout, add test.Aidan Skinner2008-02-201-1/+15
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@629540 13f79535-47bb-0310-9956-ffa450edef68
* QPID-800 : junit toolkit sources added.Rupert Smith2008-02-2037-103/+70
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@629518 13f79535-47bb-0310-9956-ffa450edef68
* QPID-790 : Performance ImprovementsRobert Godfrey2008-02-141-0/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@627794 13f79535-47bb-0310-9956-ffa450edef68
* QPID-790 : Performance ImprovementsRobert Godfrey2008-02-134-0/+20
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@627552 13f79535-47bb-0310-9956-ffa450edef68
* QPID-766: shorten delayAidan Skinner2008-01-301-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@616809 13f79535-47bb-0310-9956-ffa450edef68
* QPID-766: shorten delayAidan Skinner2008-01-301-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@616808 13f79535-47bb-0310-9956-ffa450edef68
* Merged revisions 608477,609961,610475,610479,610806,611146 via svnmerge from Aidan Skinner2008-01-282-67/+134
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | https://svn.apache.org/repos/asf/incubator/qpid/branches/M2 ........ r608477 | rgodfrey | 2008-01-03 13:23:04 +0000 (Thu, 03 Jan 2008) | 1 line QPID-499 : Added per-virtual host timed tasks to inspect queues (with no consumers) for expired messages ........ r609961 | ritchiem | 2008-01-08 12:59:01 +0000 (Tue, 08 Jan 2008) | 2 lines QPID-499 : Patch to update the queue size statistics when the Active TTL process runs Removed old single commented out code line from AMQSession. ........ r610475 | ritchiem | 2008-01-09 17:32:43 +0000 (Wed, 09 Jan 2008) | 1 line Qpid-723 Added exec to qpid.start ........ r610479 | ritchiem | 2008-01-09 17:39:54 +0000 (Wed, 09 Jan 2008) | 1 line Qpid-690 : Provide configurable delay between re-connecion attempts. ........ r610806 | ritchiem | 2008-01-10 14:41:37 +0000 (Thu, 10 Jan 2008) | 1 line QPID-690 : Relaxed the timings on failover as Thread.sleep is accurate to 10ms so may finish the sleep 10ms early. Resulting in erratic failures as 9.9s < 10s. ........ r611146 | ritchiem | 2008-01-11 11:33:31 +0000 (Fri, 11 Jan 2008) | 1 line Patch by Aidan Skinner to make third constructor public. This is done so that the BDBMessageStore tests can still run with the addition of the VirtualHost reaper thread. ........ git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@615943 13f79535-47bb-0310-9956-ffa450edef68