summaryrefslogtreecommitdiff
path: root/qpid/java/systests/src
Commit message (Collapse)AuthorAgeFilesLines
* Merge from trunk tag to-cmake-25mar09 (r758432)Stephen D. Huston2009-03-2513-122/+645
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/cmake@758465 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1631 : Convert MessageStore to TransactionLog and RoutingTable. Updated ↵Martin Ritchie2009-02-131-29/+32
| | | | | | all references and provided a test to ensure that whilst we are transitioning the configuration we can use the old MessageStore classes that now implement both interfaces without any config updates. Updates to the configuration can come when the store are renamed *TransactionLog git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@744184 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1662 : Converted Thread.sleep in to an awaitNanos()Martin Ritchie2009-02-131-6/+24
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@744141 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1630 : Updated MessageFactory to be responsible for assigning ↵Martin Ritchie2009-02-131-8/+0
| | | | | | | | | | messagIDs. Several tests needed updating as they relied upon specified messageIDs. Added a recovery mode to the MessageFactory where by new messages can have their ids specified but only as long as the new id is larger than the last one. Recovered messages are always persistent. Simplified a interfaces as a result of not requiring the messageID to be passed through. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@744140 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1418: Destroy and recreate consumer once all messages areAidan Skinner2009-01-221-3/+9
| | | | | | | sent so that they have enough time to expire. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@736618 13f79535-47bb-0310-9956-ffa450edef68
* Reorder receives, check that we don't get 3 messages first. Trying to debug ↵Aidan Skinner2009-01-201-11/+12
| | | | | | occasional failures on a slow cruise control machine. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@735994 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1573: Move unit tests that were living in systests into appropriate ↵Aidan Skinner2009-01-1914-2930/+0
| | | | | | module. Fix up a few bugs in other tests that this exposed. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@735735 13f79535-47bb-0310-9956-ffa450edef68
* added a timeout to BytesMessageTestRafael H. Schloming2009-01-161-2/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@735024 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1575: Reduce TTL from 1 second to 100msAidan Skinner2009-01-151-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@734677 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1573: Change AMQQueueDeferredOrderingTest, ↵Aidan Skinner2009-01-145-173/+72
| | | | | | | | | ReturnUnroutableMandatoryMessageTest, DispatcherTest, PriorityTest and TimeToLiveTest to extend QpidTestCase Add ReturnUnroutableMandatoryMessageTest, PriorityTest and TimeToLiveTest to the 010ExcludeList git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@734379 13f79535-47bb-0310-9956-ffa450edef68
* This is related to QPID-1572.Rajith Muditha Attapattu2009-01-131-1/+8
| | | | | | | The SSL test profile runs the java client against the C++ broker using SSL connections git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@734166 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1557: fixed the cpp.cluster test profileRafael H. Schloming2009-01-062-4/+15
| | | | | | | | | | | | | | | | | | | | | | - pulled out the XA excludes into a separate excludes file - made the cluster profile exclude the XA tests - made the build system automatically set all system properties that start with profile - added a profile.clustered property that defaults to false - made the cpp.cluster test profile set the profile.clustered property to true - modified the failover tests to exclude some erroneous asserts if the broker is clustered - modified the java client to not advertize a non-zero timeout git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@731810 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1501 : Remove @Override annotations to allow compilation under JDK 1.5Martin Ritchie2008-12-021-1/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@722670 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1439 : Revert change but add ability to track what test started the ↵Martin Ritchie2008-11-071-3/+2
| | | | | | broker to aid in problem diagnosis git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@712206 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1439 : Updates to ensure we maintain the log files from each external ↵Martin Ritchie2008-11-071-3/+9
| | | | | | Java broker test run. The C++ log directory could do with a similar setup change. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@712110 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1425 : Upping the timeout to ensure that the failures we are ↵Robert Godfrey2008-11-071-1/+1
| | | | | | occaisionally seeing on this test are not soley due to timing related issues. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@712105 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1384: Changed for storing UTF8 Strings in filesArnaud Simon2008-11-033-4/+21
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@710075 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1339:Rafael H. Schloming2008-10-274-84/+112
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Modified QpidTestCase to start/stop multiple brokers for failover testing. - Modified QpidTestCase to substitute port variables into broker start/stop commands. - Modified test profiles to use the new port variables. - Modified QpidTestCase to permit multiple exclude files. - Modified test profiles to make use of a common exclude list: ExcludeList - Added ConnectionTest.testResumeEmptyReplayBuffer. - Made default exception handling for Connection and Session log the exception. - Added SenderExcetion to specifically signal problems with transmitting connection data. - Modified Session to catch and deal with connection send failures for sessions with positive expiry. - Modified FailoverBaseCase to work for non VM brokers. - Made FailoverTest fail if failover times out. - Modified JMS implementation to make use of the recently added low level session resume. - Unexcluded failover tests from 0-10 test profiles. - Excluded MultipleJCAProviderRegistrationTest due to its testing strategy resulting in spurious failure when running as part of the larger test suite. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@708093 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1394 : Renamed file, that was miss named, to end in Test so that it is ↵Martin Ritchie2008-10-241-1/+1
| | | | | | picked up by the test phase. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@707695 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1394 : Added test to validate that Provider is registered after ↵Martin Ritchie2008-10-241-0/+101
| | | | | | connection is created and logging to highlight if we are unable to register our client connections. We do not need to unregister our clients as the same providers are used for all new connections. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@707692 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1394 : Registration of JCAProvider is incorrect in client and broker ↵Martin Ritchie2008-10-241-32/+62
| | | | | | SASL configurations git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@707658 13f79535-47bb-0310-9956-ffa450edef68
* This is for QPID-1296Rajith Muditha Attapattu2008-10-231-1/+1
| | | | | | | | | | | | | added a boolean to the connect method to indicate whether an SSL connection should be created. currently there seems to be two issues. 1. The shutdownInput method used in IoReceiver is not supported by the SSLSocket implementation. 2. I haven't able to get client side authentication working. For item 1 we may need to use nio classes to get around the issue. For item 2 I am yet to figure out the correct config options to get client side auth working. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@707453 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1384: updated AMQDestination + added test for 0.10 code pathArnaud Simon2008-10-222-1/+114
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@706894 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1320: Remove unusued variables, check that right number of messages ↵Aidan Skinner2008-10-171-23/+11
| | | | | | have been recieved in the right place as per ritchiem's review comments. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@705659 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1373: Remove message for unack'd map when acking individual messages. ↵Aidan Skinner2008-10-171-0/+16
| | | | | | Add test. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@705658 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1315:Aidan Skinner2008-10-171-12/+10
| | | | | | | | | | BasicBytesFlowControl doesn't wait long enough to determine if the 3rd message is going to be delivered accidently. It also ack'd every message, which was not it's intent, so use acknowledgeThis() instead. Refactor common code out of processQueue and flushSubscription into attemptDelivery. Make sure sendLock is held when closing the consumer. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@705657 13f79535-47bb-0310-9956-ffa450edef68
* s/setPrefecthLimits/setPrefetchLimitsAidan Skinner2008-10-171-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@705654 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1320: Yank out random, badly written 08 test. Use correct one instead.Aidan Skinner2008-10-151-229/+84
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@704932 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1119 QPID-1262 : The issue with the SWTDTest was down to QPID-1103 and ↵Martin Ritchie2008-10-151-0/+1
| | | | | | the fact that the configuration is not propogated to the Java profile. The test runs fine InVM but cannot be run externally until QPID-1103 has been completed. QPID-1262 is still an issue but it is not a blocker for this test. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@704930 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1289: Make 0-8/0-9 client honour the max_preftech system property.Aidan Skinner2008-10-103-3/+61
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@703383 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1331 : Modified the BrowserSubscription to be consistent with the NoAck ↵Martin Ritchie2008-10-091-0/+6
| | | | | | | | | | | | | | | | Subscription. Added Test QueueBrowserUsesNoAckTest to validate the change. Note that the Credit Manager Suspends the subscriber not the channel when credit is exhausted. JIRA to follow. So to check if the subscription was suspended I needed to make a MockChannel and give it access to the subscriber map in the Channel. The test also needed to be able to interrogate the state of the Subscription which was not part of the Subscription interface, but was used by all subscriptions. So promoted to the interface and implemented the stubs in the various helper/test classes. Added the ability to browse() via the InternalBrokerBaseCase and prevented a NPE when there were no messages returned via getDelivers. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@703212 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1286: use transactions to make sure all messages are in there before ↵Aidan Skinner2008-09-191-2/+4
| | | | | | starting the consumer git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@697100 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1286: make timeout a constantAidan Skinner2008-09-191-12/+15
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@697021 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1286: make sure priority queues don't mess with deleted subscriptionsAidan Skinner2008-09-181-48/+102
| | | | | | | | | AMQPriorityQueue: don't advance deleted subscriptions AMQPriorityQueueTest: Add test class for priority queues SimpleAMQQueueTest: Add more tests PriorityTest: Check for more message orders git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@696686 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1269 : Added queue registration as part of the creation via the ↵Martin Ritchie2008-09-031-0/+1
| | | | | | Factory. Updated direct creations to use the factory.. where possible. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@691643 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1119 : modified the delay method to ensure that it always sleeps for ↵Martin Ritchie2008-09-021-0/+15
| | | | | | the required time. Added logging to verify git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@691260 13f79535-47bb-0310-9956-ffa450edef68
* Add ASL to everywhere, to everything.Aidan Skinner2008-08-282-1/+43
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@689937 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1119 : M2x commit : Addition of a System property to ↵Martin Ritchie2008-08-224-5/+543
| | | | | | | | | | | | | 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/trunk@688110 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1225 : Changed SimpleACLTest to use QpidTestCase so the failing test ↵Martin Ritchie2008-08-211-2/+31
| | | | | | can be excluded. This change DOES NOT mean the test will run agains the exteranl brokers. The test explicitly shutsdown the QTC broker during the setUp and only runs InVM currently. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@687743 13f79535-47bb-0310-9956-ffa450edef68
* Remove old crufty helper that is not used.Martin Ritchie2008-08-211-102/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@687667 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1225 : Temporary commit to allow CI systems to help diagnose cause of ↵Martin Ritchie2008-08-211-1/+7
| | | | | | race condition. My guess is that the session is open but closes right after the isClosed call is done. So the client the goes on and does a waitForFrame that never arrives causing the timeout exceptions. As commented in AMQPH if we add our frame listener such that it will receive any existing and subsequent exceptions, such as connection closing whilst we add them to the framelisteners then I think this will resolve the issue. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@687664 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1217: make temporary queue creation actually create the temporary queue.Aidan Skinner2008-08-202-4/+61
| | | | | | | | | | AMQSession*: consolidate createTemporaryQueue into AMQSession. ConnectionTest: declare custom exchanges before testing them TemporaryQueueTest: add test for QPID-1217 git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@687383 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1252: remove the durable subscription when done with it, and increased ↵Rafael H. Schloming2008-08-201-1/+2
| | | | | | another timeout git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@687313 13f79535-47bb-0310-9956-ffa450edef68
* increased the timeout in the new DurableSubscriptionTest from 250 ↵Rafael H. Schloming2008-08-191-1/+1
| | | | | | milliseconds to 1 second git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@687139 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1202: Rebind durable subscriptions if the arguments have changedAidan Skinner2008-08-191-0/+60
| | | | | | | | TopicExchange: take field arguments into account when determining if topic binding already exists when binding, but not for regular isBound(). DurableSubscriptionTest: add test case for QPID-1202 git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@687010 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1252: modified tests to unsubscribe the durable subscriptions they createRafael H. Schloming2008-08-183-0/+11
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@686811 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1245: use notifyMessage rather than onMessage in setMessageListener so ↵Rafael H. Schloming2008-08-151-0/+10
| | | | | | that messages from the synchronous queue actually get acked git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@686172 13f79535-47bb-0310-9956-ffa450edef68
* increased timeout for DupsOkTest to prevent intermittent failure on build ↵Rafael H. Schloming2008-08-141-2/+2
| | | | | | machine git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@686071 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1236: made setObjectProperty validate the passed in valueRafael H. Schloming2008-08-131-0/+15
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@685536 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1235: fixed setXXXProperty to check for empty stringsRafael H. Schloming2008-08-121-3/+44
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@685218 13f79535-47bb-0310-9956-ffa450edef68