summaryrefslogtreecommitdiff
path: root/qpid/java/systests
Commit message (Collapse)AuthorAgeFilesLines
* Merge from trunkAidan Skinner2009-10-145-20/+215
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/java-network-refactor@825292 13f79535-47bb-0310-9956-ffa450edef68
* Merge from trunkAidan Skinner2009-10-1123-686/+3320
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/java-network-refactor@824198 13f79535-47bb-0310-9956-ffa450edef68
* Merge from trunkAidan Skinner2009-09-1722-545/+1398
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/java-network-refactor@816261 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2105: Merging the patch didn't uncomment this test, stoopid git. Aidan Skinner2009-09-161-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/java-network-refactor@815708 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2105: Make NetworkDriver.open use a SSLContextFactory, not an SSLEngine.Aidan Skinner2009-09-163-35/+50
| | | | | | | | | | | | | | | | | | | | | | | Allow an existing SocketConnector to be passed into a MINANetworkDriver, for use with the ExistingSocket bit of TransportConnection. Move the ExistingSocket stuff to one place, use MINANetworkDriver in TransportConnection and make AMQProtocolHandler implement ProtocolEngine. Remove MINA specific gubbins from AMQProtocolHandler and AMQProtocolSession. Move fireAsynchEvent to Job Add getLocalAddress to AMQProtocolEngine Move TestNetworkDriver to common Use correct class for logger in AMQProtocolEngine Check the exception is thrown properly in SimpleACLTest, make it a little less prone to obscure race conditions. git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/java-network-refactor@815704 13f79535-47bb-0310-9956-ffa450edef68
* Merge from trunk Aidan Skinner2009-09-099-105/+353
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/java-network-refactor@812936 13f79535-47bb-0310-9956-ffa450edef68
* This commit allows a limited number of failover tests to run under the SSL ↵Rajith Muditha Attapattu2009-08-182-17/+20
| | | | | | | | | | | | profile using SSL connections. This commit should also fix the tests hanging under the SSL test profile due to port conflicts with SSL and failover ports. FailoverBaseCase and FailoverTest is improved to handle the failover port without having to rely on port arithmetic. The FailoverBaseCase is modified to use the failover.ssl connection factory when running under the SSL profile. I have uncommented the FailoverTest from the cpp.ssl.excludes. However only a selected set of tests will run outside the cpp.clustered profile. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@805267 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1911, QPID-1912, QPID-1913: make SelectorTest, TopicSessionTest, ↵Aidan Skinner2009-08-175-38/+79
| | | | | | SelectorTest and SubscriptionLoggingTest all use transactions to stop intermittent timing related test failures. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@805021 13f79535-47bb-0310-9956-ffa450edef68
* Ensured AlertingTest cleans up after its run. So we don't have to ant clean ↵Martin Ritchie2009-08-161-0/+9
| | | | | | between tests git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@804814 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2051, QPID-1975 : Add test to validate broker log4j startup does not ↵Martin Ritchie2009-08-161-0/+141
| | | | | | result in DEBUG logging git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@804813 13f79535-47bb-0310-9956-ffa450edef68
* Give QpidTestCase the ability to set environment variables for the external ↵Martin Ritchie2009-08-161-1/+28
| | | | | | brokers git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@804811 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2001 : Default Locale should be the VMs locale not en_US.Martin Ritchie2009-08-141-7/+11
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@804201 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2002 : Relax the SubscriptionLoggingTest.testSubscriptionSuspend. It ↵Martin Ritchie2009-08-141-5/+5
| | | | | | should only check the state not the Actor performing that state change. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@804199 13f79535-47bb-0310-9956-ffa450edef68
* QTC: Removed nukeBroker() as it is not functionally different from stopBroker()Martin Ritchie2009-08-132-64/+34
| | | | | | Completely commented out tests in PST that are not possible. i.e. gracefull broker shutdown and the final test that did nothing other than leave 100 msgs on the queue. Also updated queue naming to use QTC.getTestQueueName() git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@803944 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2002: BLT should not be monitoring the qpid.log file it needs to ↵Martin Ritchie2009-08-131-9/+8
| | | | | | monitor standard out to validate that the correct BRK-1007 log4j configuration messages is provided. So reverted change to monitor qpid.log and refined comment git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@803851 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2002 : Update to DMSLT.testQueueRecoveryCountEmpty which reuses a ↵Martin Ritchie2009-08-131-0/+3
| | | | | | previous test for validation. However, it did not stop the active broker before running that test so the DerbyMS threw an exception preventing startup and so testing." git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@803842 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2002 : Fixed issue where the BLT.defaultLog4j test failed to startup.Martin Ritchie2009-08-132-3/+12
| | | | | | Cause is that the broker.ready 'BRK-1004' message goes to qpid.log not standard out. Updating the broker.start string to be a value that is always logged to standard out will ensure we know when the test is ready git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@803841 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2002 : Fixed issue with multiple closes in Java profileMartin Ritchie2009-08-121-0/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@803654 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2002 : Addition of JMX Management interface logging using the new ↵Martin Ritchie2009-08-121-0/+666
| | | | | | Logging Interfaces git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@803649 13f79535-47bb-0310-9956-ffa450edef68
* Augmented QpidTestCase to proved details of the currently active management portMartin Ritchie2009-08-121-1/+11
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@803646 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2002 : Update the build order so that systests can depend on the ↵Martin Ritchie2009-08-121-1/+1
| | | | | | management cli and eclipse plugin to allow automated system testing git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@803645 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2002 : Added new SUB-1003 Message with testingMartin Ritchie2009-08-121-4/+131
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@803639 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2002 : Made owner an optional value on the queue log messageMartin Ritchie2009-08-121-8/+8
| | | | | | Update tests to ensure Owner is not present git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@803635 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2002 : Added Empty Queue Recovery testMartin Ritchie2009-08-121-9/+61
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@803634 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2002 : Removed incomplete and redundant test caseMartin Ritchie2009-08-121-51/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@803633 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2002 : Removed commented out codeMartin Ritchie2009-08-121-64/+38
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@803632 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2002 : removed unused importMartin Ritchie2009-08-121-1/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@803631 13f79535-47bb-0310-9956-ffa450edef68
* Correct LogMonitorTest after change to the rest functionality broke the test.Martin Ritchie2009-08-091-3/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@802628 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2002 : Add VirtualHost logging and testing, again shutdown testing must ↵Martin Ritchie2009-08-091-0/+165
| | | | | | be excluded due to the way we stop test brokers. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@802627 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2002 : Added new message CHN-1004, to allow the reporting of prefetch ↵Martin Ritchie2009-08-091-5/+17
| | | | | | sizes. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@802625 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2002 : Addition of Management LoggingMartin Ritchie2009-08-071-0/+378
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@802128 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2002 : Add ability to filter log messages by virtualhost to ↵Martin Ritchie2009-08-072-43/+92
| | | | | | AbstractTestLogging so that DerbyMessageStore can use it to filter out all the items created in the test vhost. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@802123 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2002 : Updated to use getTestQueueName() to ensure the queue used is ↵Martin Ritchie2009-08-071-2/+2
| | | | | | specific to this test git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@802122 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2002 : Ensured new Logging tests use a new queue name for each test ↵Martin Ritchie2009-08-072-9/+21
| | | | | | case as the durable store is not cleared between tests so subsequent tests performing a queue create will not see a queue declare if the same name is used in all test cases. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@802121 13f79535-47bb-0310-9956-ffa450edef68
* Ensured monitor resets do not exclude test connnection setupMartin Ritchie2009-08-073-7/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@802120 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2033 : Added destroy for broker process that fails to startup. Also ↵Martin Ritchie2009-08-071-46/+66
| | | | | | | | augmented QpidTestCase and build profiles to take a new broker.stopped search value. If this appears in the log output during the external broker startup and the broker does not report ready then the startup will report the line of text associated with the exception as part of the failure. Currently the stopped value is set to to 'Exception'. This means if an exception occurs during startup then test will give more detail about the cause of the failure. This is only monitored during the brokerStart() call and through the getStopLine() call on the Piper we can return the line of text that the Exception matched. Providing more details of why a broker failed to startup. This extra detail is currently added to the exception thrown when the broker fails to become ready. Added test.mport to profile for defaulting management port git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@802118 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2033 : Update to QpidTestCase to ensure that external broker is fully ↵Martin Ritchie2009-08-071-0/+2
| | | | | | shutdown when it fails to startup in the allotted time. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@802117 13f79535-47bb-0310-9956-ffa450edef68
* Update to LogMonitor to use channel truncation as the AlertingTest did ↵Martin Ritchie2009-08-071-4/+2
| | | | | | previously. The current method can result in data log data loss and test failures. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@802116 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2002 : MessageStore Logging updates to include queue counts from ↵Martin Ritchie2009-08-071-3/+247
| | | | | | persistent stores git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@802113 13f79535-47bb-0310-9956-ffa450edef68
* Add a drainQueue method to QTC to allow tests to clean up after themselvesMartin Ritchie2009-08-071-7/+38
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@802112 13f79535-47bb-0310-9956-ffa450edef68
* Fixed BDBMessageStore class pathMartin Ritchie2009-08-071-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@802111 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2002 : Fix for BindingLoggingTest : Where Binding Delete message order ↵Martin Ritchie2009-08-071-6/+17
| | | | | | is not guarranteed git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@801906 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2002 : Fix for BrokerLoggingTest NPE.Martin Ritchie2009-08-071-0/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@801904 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2002 : Improved Channel/ConnectionLogging Test to report that it had no ↵Martin Ritchie2009-08-063-13/+59
| | | | | | logged messages when that situation occurs. Rather than -1 index exceptions. Update to BrokerLoggingTest to ensure it is monitoring the right file. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@801728 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2002, QPID-2001 : Add new SubscriptionActor to perform Subscription ↵Martin Ritchie2009-08-061-0/+6
| | | | | | close logging on the Subscription Flush thread. Alternative would be to create a Virtualhost Logger. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@801725 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2002 : Add Binding Logging Messages with testMartin Ritchie2009-08-062-10/+277
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@801723 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2002 : Removed local _monitor which was hiding super class variableMartin Ritchie2009-08-061-2/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@801722 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2002: Added Exchange Logging and testMartin Ritchie2009-08-061-0/+204
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@801720 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2002 : SubscriptionLogging Tests, update to SubscriptionImpl for new ↵Martin Ritchie2009-08-062-0/+300
| | | | | | exclusive flag on setQueue git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@801719 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2002 : Used new close feature of LogMonitor to ensure test log file ↵Martin Ritchie2009-08-061-0/+8
| | | | | | only has data from test run git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@801718 13f79535-47bb-0310-9956-ffa450edef68