summaryrefslogtreecommitdiff
path: root/java/systests/src
Commit message (Collapse)AuthorAgeFilesLines
* Reverted 787626 as it was causing the regular profiles to fail.Rafael H. Schloming2009-07-071-2/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@791954 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1965: use transacted send since we *really need* the messages to beAidan Skinner2009-07-021-2/+6
| | | | | | there by the time was start looking for the log messages. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@790493 13f79535-47bb-0310-9956-ffa450edef68
* Author: Martin Ritchie <ritchiem@apache.org>Aidan Skinner2009-07-012-2/+192
| | | | | | | | QPID-1037 : Added new test with updates to QTC to provide better generic send methods Signed-off-by: Aidan Skinner <aidan@apache.org> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@790171 13f79535-47bb-0310-9956-ffa450edef68
* Put the default test profile back to using MemoryMessageStore for now, add ↵Aidan Skinner2009-06-261-1/+1
| | | | | | java-derby and config-systests-derby.xml for testing purpouses. Allow the config file to be specified in the test profile, default to config-systests.xml. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@788680 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1921: Add new test case for persistent storage modules.Aidan Skinner2009-06-241-0/+149
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@788049 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1923: Fix ack mode for TopicSessionTest, reset system property the ↵Aidan Skinner2009-06-232-5/+2
| | | | | | right way in FailoverBaseCase git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@787738 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1935: Reset QPID_WORK after modifying it. handy that.Aidan Skinner2009-06-231-11/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@787701 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1935: Clean up brokers before starting them everytime.Aidan Skinner2009-06-231-0/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@787626 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1935: Use unique queue name per test run. *sigh*.Aidan Skinner2009-06-232-3/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@787623 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1914: Create the queue properlyAidan Skinner2009-06-226-15/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@787294 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1914 use one queue per test so failures dont spiralAidan Skinner2009-06-221-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@787266 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1924: Make DerbyMessageStore honor $QPID_WORK.Aidan Skinner2009-06-222-1/+30
| | | | | | | | DerbyMessageStore: pick up QPID_WORK FailoverBaseCase: set QPID_WORK for the second broker QpidTestCase: pass on QPID_WORK git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@787254 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1914: make send() transacted so we know the messages got there.Aidan Skinner2009-06-222-16/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@787250 13f79535-47bb-0310-9956-ffa450edef68
* Use DerbyMessageStore for config-systests.xml, ensure it's cleaned upAidan Skinner2009-06-221-0/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@787248 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1923: made createDurableSubscriber fail on a temporary topicRafael H. Schloming2009-06-221-0/+27
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@787231 13f79535-47bb-0310-9956-ffa450edef68
* made test ports configurable; this required adding variable expansion to ↵Rafael H. Schloming2009-06-183-4/+4
| | | | | | PropertiesFileInitialContextFactory git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@786269 13f79535-47bb-0310-9956-ffa450edef68
* Increased the receive timeout to 1000 ms as the test seems to fail on some ↵Rajith Muditha Attapattu2009-06-031-4/+4
| | | | | | systems git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@781352 13f79535-47bb-0310-9956-ffa450edef68
* This is a fix for QPID-1888Rajith Muditha Attapattu2009-06-031-0/+61
| | | | | | | The SelectorTest contains a test case to catch this as the JMS tck does not have one. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@781244 13f79535-47bb-0310-9956-ffa450edef68
* Fail the test when we can't find the alert and surface the contents of the ↵Aidan Skinner2009-05-281-9/+23
| | | | | | logfile. Ugly but effective for debugging occasional failures in CI. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@779557 13f79535-47bb-0310-9956-ffa450edef68
* Don't delete derby.log. Use virtualhost-systests.xml for testing purpouses. ↵Aidan Skinner2009-05-261-4/+7
| | | | | | Minor code cleanup in AlertingTest. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@778723 13f79535-47bb-0310-9956-ffa450edef68
* Use alert level in the config file, don't try to set one (since that won't ↵Aidan Skinner2009-05-221-4/+6
| | | | | | always work. *sigh*). Need a test-config really. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@777601 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1864: sync the dispatch queue to make sure there are no messages in it ↵Rafael H. Schloming2009-05-191-0/+86
| | | | | | before we rollback, and fix the ordering so that messages are released in queue order git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@776378 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1730: add AlertingTest, although not to 010Aidan Skinner2009-04-282-1/+163
| | | | | | | | java.testprofile: Make sure that the broker can always find the log configuration file even if we've used a different directory for the config file QpidTestCase: expose the file that the output is being written to as a protected variable. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@769406 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1823: Allow recycling of channel IDsAidan Skinner2009-04-212-0/+82
| | | | | | | | | | | | AMQConnection.getNextChannelID: add method to abstract channel id assignment, allow max to be set AMQConnectionDelegate*: add getMaxChannelID AMQConnectionDelegate_0_10: use getNextChannelID for this session-id SessionCreateTest: add test that attempts to create 65555 sessions on one connection AMQConnectionTest: add unit test for getNextChannelID SessionCreateTest takes a long, long time to run so is excluded by default git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@767185 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1813/QPID-1817 : Removed the new properties from the test-provider as ↵Martin Ritchie2009-04-163-27/+72
| | | | | | this will affect all tests. The NoLocalAfterRecoveryTest now updates a ConnectionURL based on the JNDI data and uses that to start a connection. NLART also provides a default location for the derbyDB store as the DMS class does not correctly attempt to put the store in QPID_WORK. This will be re-addressed when ServerConfiguration is again available from a VHC object. ConnectionTest was updated to remove the literal values for the BrokerDetail options. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@765608 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1817 : Update QTC to provide the configuration file to an external brokerMartin Ritchie2009-04-162-22/+20
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@765605 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1813 : Provide test that uses the DerbyMessageStore to check NoLocal ↵Martin Ritchie2009-04-161-0/+219
| | | | | | functionality after a broker restart. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@765604 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1817 : Update to QpidTestCase to use setUp to start the broker this ↵Martin Ritchie2009-04-166-46/+63
| | | | | | | | allows tests to update the _configFile that is being used before the broker is started. By default the etc/config-systests.xml is used. This differs from the stock config.xml only in that it disables the Managment JMX interface by default. If a test requires this functionality it can provided an edited configuration. An example of how that might be done can be seen in SyncWaitDelayTest and will additionally be provided for QPID-1813. A couple of tests were modified to remove their setUp/tearDown where the code did no additional work. This made the tests cleaner. Additionally FrameworkBaseCase never actually called super.setUp() so that was fixed. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@765602 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1807 : Add 0.5-fix broker and update SlowMessageStore to use ↵Martin Ritchie2009-04-141-66/+66
| | | | | | MessageStores rather than TransactionLogs git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@764850 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1807 : Remove old broker and FlowToDisk related testsMartin Ritchie2009-04-146-630/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@764838 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1779 : Update to ensure CACFTest reports failures correctly and ↵Martin Ritchie2009-04-141-11/+22
| | | | | | resolved the issue that it was not showing. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@764790 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1204 : Augmented test to cope with case were Session was closed before ↵Martin Ritchie2009-04-111-2/+10
| | | | | | we could extract the AuthenticationException git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@764141 13f79535-47bb-0310-9956-ffa450edef68
* Added comments to help understand the testMartin Ritchie2009-04-111-2/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@764139 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1779 : Application of patches attached to JIRA. Should address ↵Martin Ritchie2009-04-101-0/+110
| | | | | | | | connection close issues experienced on 0-8/9 branch Excluded test from TCP runs as it is hardwired to InVM. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@764109 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1806 : Ensure Flow to disk location is deleted when the queue is closedMartin Ritchie2009-04-101-0/+78
| | | | | | Note: As our queues do not stop processing on the close() call it is possible that the backing store may not beable to be deleted. In this case all that will occur is that it will log the failure to disk so an operations team can manually clean it up. When we improve the Queueing model for AMQP 1-0 we can address this behaviour. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@764095 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1805 : Updated BackingStore to error if we cannot create the backing ↵Martin Ritchie2009-04-101-0/+143
| | | | | | store. Also updated so that we store the queues evenly over 256 bins, thus giving us the ability to have around 8.1 million actives queues. The Hash function was borrowed from Apache Harmony. Added manual testing to ensure we are not limited by Linux's max file/dir per Inode of 31998. Made the test manual as creating 32000 queues does take a little while. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@764083 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1803 : Test that selectors work when a QueueDepth is set.Martin Ritchie2009-04-102-29/+132
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@764081 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1804 : Provide testing for Flow to Disk when using ack modes Client, ↵Martin Ritchie2009-04-102-3/+60
| | | | | | Transacted and No-Ack git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@764080 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1791 : Replaced the get call before the dequeueAndDelete with a remove. ↵Martin Ritchie2009-04-101-0/+160
| | | | | | | | So the remove call after the delete is now nolonger requried. Added manual test to assist identifing the problem git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@764079 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1778 : Increased delay as tcp testing takes longer than inVm. Now ↵Martin Ritchie2009-04-031-1/+2
| | | | | | checks failover doesn't occur and we know about it in less time than the connectiondelay which would be waited for if we attempted failover. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@761668 13f79535-47bb-0310-9956-ffa450edef68
* Fixed spelling errorMartin Ritchie2009-04-011-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@760953 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1764 : Add a BaseTransactionLog that takes care of handling persistent ↵Martin Ritchie2009-04-011-20/+32
| | | | | | | | | | | | | | | | | | | | | | message references so that the underlying TransactionLog need not worry about that. Updated MemoryMS to use this even to ensure that the code is exercised. To ensure that the new BaseTransactionLog was correctly used when used by a TransactionLog. The configure() method now returns an Object(TransactionLog) that is the newly configured TL. Existing tests and code where the original TL reference was used have been changed to use the output of the configure() call. NOTE: the return type should be changed to TransactionLog but until we have completely split the TransactionLog and RoutingTable implementations then this is not possible. The implementation also includes a number of items from the Flow To Disk review: - The old get* Methods have been removed from the TransactionLog interface. - Rollback should now rollback enqueues. (No test provided) - StoreContext now has enqueue/dequeue methods that track the messageId/Queue pairing - The linked list per message has been reduced to a link list per message that is enqueued on multiple queues. Messages that exist on only one queue have no additional overhead. - Optimisation also included to: Include message delete in 'dequeue transaction' where the message was only ever enqueued on a single queue. All other message deletes are peformed as part of an asynchrounous commit. The asynchrounous commit is setup via the StoreContext, which has had some work done to move it towards becomming a Qpid Transaction Object where all operations are performed against rather than going via the TransactionLog. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@760951 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1778 : Add NoFailover FailoverMethod that blocks that still allows ↵Martin Ritchie2009-03-271-2/+74
| | | | | | connection retry but only on the initial connection. Failover will not be attempted after an established connection is lost. Updated FailoverMethodTest to test this behaviour. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@759097 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1662 : Converted PassiveTTL to a transacted session so we can ensure ↵Martin Ritchie2009-03-241-1/+6
| | | | | | all messages are on broker and aging before we start our sleep cycle. The transacted session won't affect the way messages age. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@757696 13f79535-47bb-0310-9956-ffa450edef68
* increased timeout for ConnectionCloseTestRafael H. Schloming2009-03-171-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@755324 13f79535-47bb-0310-9956-ffa450edef68
* SyncWaitDelay*Test is failing spuradically with a management port clash. ↵Martin Ritchie2009-03-121-0/+2
| | | | | | Simplest solution here is to disable the management interface for these tests. The more complex change to ensure the MC is shut down correctly and port freed during test startup will not be a problem for production. It only occurs here as we start a broker then stop and start a new one immediately. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@752810 13f79535-47bb-0310-9956-ffa450edef68
* QPID-949 : Extend the basic QueueBrowser_Test to run on a queue that has ↵Martin Ritchie2009-03-061-0/+69
| | | | | | been flowed to disk git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@750869 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1639 : Added test to ensure that properties passed on QueueDeclare are ↵Martin Ritchie2009-03-061-0/+179
| | | | | | applied to queue. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@750867 13f79535-47bb-0310-9956-ffa450edef68
* This is related QPID-1640Rajith Muditha Attapattu2009-03-042-29/+80
| | | | | | | This includes a the failover test run in a loop. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@750203 13f79535-47bb-0310-9956-ffa450edef68
* don't run tests when broker doesn't startRafael H. Schloming2009-02-261-1/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@748178 13f79535-47bb-0310-9956-ffa450edef68