summaryrefslogtreecommitdiff
path: root/qpid/java/test-profiles
Commit message (Collapse)AuthorAgeFilesLines
* Exclude BrokerStartupTestRobert Gemmell2010-04-071-0/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.5.x-dev@931465 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2479: set the log level to WARN for the tests as they use high ↵Robert Gemmell2010-04-061-0/+4
| | | | | | frequency housekeeping and this leads to a huge amount of additional logging git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.5.x-dev@931179 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2418: Unsubscribe existing open durable subscriptions when changing ↵Robert Gemmell2010-04-011-2/+2
| | | | | | | | | subscription. Remove duplication in implementations. Applied patch from Andrew Kennedy <andrew.international@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.5.x-dev@930023 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2630, QPID-2631: Restore the virtualhosts.xml file. When a ↵Robert Gemmell2010-03-301-0/+4
| | | | | | | | | virtualhosts.xml file is specified load it as its own Configuration object to ensure the property heirarchy is not lost. Enforce that virtualhost config can only be specified in either the main config.xml file or the virtualhosts.xml file, but not both. Allow the virtualhosts.xml file to be a combined configuration and use to provide override abilities for testing. Applied patch from Andrew Kennedy <andrew.international@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.5.x-dev@929138 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2417 , QPID-2418 , QPID-2449 : expand topic testing, specifically ↵Robert Gemmell2010-03-181-0/+2
| | | | | | around the change and unsubscription of durable subscriptions git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.5.x-dev@924845 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2417: enable DurableSubscriberTest to run on the derby profile on the ↵Robert Gemmell2010-02-263-2/+2
| | | | | | 0.5.x branch where lack of 0.91 support bypasses the QPID-2422 restriction currently present on trunk git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.5.x-dev@916716 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2417: add ability to run DurableSubscriberTest on the java-derby ↵Robert Gemmell2010-02-261-0/+1
| | | | | | | | | profile once QPID-2422 is fixed merged from trunk r916358 git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.5.x-dev@916698 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2346 : AcknowledgeAfterFailoverTest was putting more messages on the ↵Martin Ritchie2010-01-211-1/+2
| | | | | | | | | external broker than the testing AcknowledgeTest code was expecting. Additionally when run in the java-derby(persistent) case the unacknowledge messages were recovered when the broker was restarted. To address this the store of each broker is deleted when the it is stopped. To ensure that the persistent tests do not impact each other enabled the broker.clean.between.tests on the java-derby profile git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.5.x-dev@901461 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2345 : Re-enable Ack*AfterFailover* tests to aid in problem diagnosisMartin Ritchie2010-01-191-12/+14
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.5.x-dev@900977 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2137 : Merged r899797 Update to QTC to correctly set QPID_WORK from trunk.Martin Ritchie2010-01-181-0/+15
| | | | | | | Updated excludes to match Trunk git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.5.x-dev@900458 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2242 : Remove InVM Exclude for testReceiveResend as it is now only ↵Martin Ritchie2009-12-091-2/+0
| | | | | | testing the resend ability of the messages. The test to set the JMS_QPID_DESTTYPE is not possible on this branch. The test remains as is on trunk. git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.5.x-dev@888748 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2242 : Update to 0-8 producer to set the JMS_QPID_DESTTYPE when sending ↵Martin Ritchie2009-12-082-0/+11
| | | | | | | | | | | | | | messages. This update required a change to the FieldTable to clear any _encodedBuffer when setting a new value Provided test in JMSDestintationTest. This test requires a broker that supports both 0-8/9 and 0-10 as we must first use a 0-10 connection to send a message, which does not set JMS_QPID_DESTTYPE, then receive the message on 0-8/9. This allows us to validate that messages recieved without JMS_QPID_DESTTYPE set will can correctly set the value without a BufferOverflow Exception when simply forwarding the message. merged from trunk r888345 git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.5.x-dev@888478 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2242 : Update to the 0-8/9 code path to use the 0-10 static lookup ↵Martin Ritchie2009-12-081-2/+0
| | | | | | | | | tables for the Destination type when JMS_QPID_DESTTYPE has not been set. merged from trunk r887994 git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.5.x-dev@888392 13f79535-47bb-0310-9956-ffa450edef68
* Log:Martin Ritchie2009-12-082-1/+3
| | | | | | | | | | QPID-1992 : Exclude message move test from CPP broker as it uses JMX. merged from trunk r887950 git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.5.x-dev@888387 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2242 : Fixed 0-10 code path's getJMSDestination() updated ↵Martin Ritchie2009-12-081-0/+2
| | | | | | | | | | | | | | JMSDestinationTest to cover more test cases: - Recieving a msg via Queue,Topic - Recieving a msg via Queue with a MessageListener - Recieving a msg on a queue that was sent to a topic, requires JMX interface to perform message move. Merged from trunk r887948 git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.5.x-dev@888383 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2177: unit and system testing for the new flow controlled related ↵Robert Gemmell2009-12-081-0/+3
| | | | | | | | | attributes of the Queue MBean merge from trunk r888250,r888348 git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.5.x-dev@888354 13f79535-47bb-0310-9956-ffa450edef68
* Add file to allow exclusion of tests from only the InVM default.testprofileRobert Gemmell2009-12-082-1/+4
| | | | | | | merge from trunk r888246 git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.5.x-dev@888255 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2184: make sure global security plugins are reconfigured properlyRobert Gemmell2009-11-241-0/+1
| | | | | | | | | | | | | | ServerConfigurationTest: add test for reloading firewall config in main section, not just as a combined file FirewallConfigTest: add a systest for firewalls with real broker QpidTestCase: add a reloadBroker() method Merged from trunk r835115 git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.5.x-dev@883673 13f79535-47bb-0310-9956-ffa450edef68
* Added the following test cases to the 010Excludes file to get the test ↵Martin Ritchie2009-10-281-0/+10
| | | | | | | | profile passing. The test failures will be investigated to determine if the broker/client needs to be fixed or test should be permanently disabled for the broker profile. git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.5.x-dev@830636 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1204: add temporary workaround for connection close race condition at ↵Robert Gemmell2009-10-133-7/+0
| | | | | | tearDown() noted in QPID-2081 to allow enabling SimpleACLTest for java brokers. Update exclude lists accordingly, also removing a single-method exclude from the 010Excludes file made redundant by the complete SimpleACLTest exclusion when using cpp brokers git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@824706 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1950 : Remove exclude from global exclude file. Should just be excluded ↵Martin Ritchie2009-10-082-3/+2
| | | | | | from the 010 run as only 0-8/9 uses Mina. The test is validating that a Mina IOException correctly causes failover, even when the IOException does not represent a socket failure. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@823089 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1950 : Problem is that the thrown exception whilst an IOException does ↵Martin Ritchie2009-10-082-1/+5
| | | | | | not signify that the socket has closed. So the broker had two open connections to send messages on. Change was to ensure that the previous Socket/IOSession has been closed before failover starts. Also added protected to ChannelOpenHandler to guard against out of order frames causing a NPE. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@823087 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1816 : Update to AOMT based tests, Test now continues as long as ↵Martin Ritchie2009-10-051-1/+6
| | | | | | | | | messages are received. If there has been no message received for 5 seconds then it counts the test as failed. Excluded AutoAck failover tests due to QPID-143 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@821829 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1816 : Add testing for publication on a dirty session after failover.Martin Ritchie2009-10-051-0/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@821828 13f79535-47bb-0310-9956-ffa450edef68
* Updated testing harness: QpidTestCase and FailoverBaseCase.Martin Ritchie2009-10-051-3/+2
| | | | | | | | | | | | | | | | | | Updates to QpidTestCase: to allow the sending of messages that are tagged from an offset value. to correctly commit the sent messages if the sent number does not fit within the batch window. update to createMessage to add an INDEX int property. update to rename ssl connectionfactory default.ssl to align with other factories. updated test-provider accordingly. added a getTestQueue method that creates an AMQQueue using getTestQueueName to further simplify tests. Updates to FailoverBaseCase removed setFailingPort, failBroker now takes the port to fail, this allows both brokers to be failed more easily. Update to ensure that all subclasses get a failover connection url, through the getConnection(), some were not. Fixed by overriding getConnectionFactory() call. Fixed second broker work directory to write to defined QPID_WORK rather than java.io.tmpdir. If QPID_WORK is not set then tests will fall back to java.io.tmpdir getFailingPort now returns the correct value if you are running InVM (2)or externally(test.alt.port) Updated tests that used failBroker to use failBroker(getFailingPort()) so tests will work InVM and externally. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@821821 13f79535-47bb-0310-9956-ffa450edef68
* QPID-942: fix test exclusionRobert Gemmell2009-10-021-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@820932 13f79535-47bb-0310-9956-ffa450edef68
* QPID-942 : Add Simplistic Producer Flow Control to the java Broker / java ↵Robert Godfrey2009-10-011-0/+3
| | | | | | 0-8/0-9 client git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@820739 13f79535-47bb-0310-9956-ffa450edef68
* Correct order of log4j entries so our parser doesn't print an errorMartin Ritchie2009-09-302-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@820322 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2118 : Corrected 010Exclude for runtime selector exception. Tidied up ↵Martin Ritchie2009-09-301-1/+1
| | | | | | SelectorTest so that it uses more of QTC functionality and stops creating random queue names. The init() methods could be totally removed with a bit more work. Updated test() to be testOnMessage() to better identify what test was supposed to be using onMessage() previously they all were! JMSMessageID test should now pass again on CPP profile. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@820321 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2120 : Updated SimpleAMQQueue to ensure that the sub.isSuspended() ↵Martin Ritchie2009-09-302-4/+0
| | | | | | | | check is done before any attempt to retrieve the getLastSeenNode(). This and the commits for QPID-1871,QPID-2116 are tested by RollbackOrderTest that now can be enabled for the Java profile. Additional changes were done to SAMQQ to improve readability and add some debug loggging. Performance testing should be done to identify any penality for this additional logging. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@820320 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2118: exclude SelectorTest#testRuntimeSelectorError until it fails in ↵Robert Gemmell2009-09-291-0/+1
| | | | | | the same way git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@819975 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2118, exclude SelectorTest#testSelectorWithJMSMessageID until it fails ↵Martin Ritchie2009-09-281-0/+3
| | | | | | in the same way as 0-8/9 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@819604 13f79535-47bb-0310-9956-ffa450edef68
* Set apache.commons logging to warn to reduce the amount of commons debug ↵Martin Ritchie2009-09-281-0/+4
| | | | | | that appears during Java broker test runs git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@819594 13f79535-47bb-0310-9956-ffa450edef68
* FailoverBaseCase has not been using the testprofile defined test.port.alt ↵Martin Ritchie2009-09-212-4/+10
| | | | | | for the failover server. As a result the connection has been failing. Updated to use correct system property and added text to both default.testprofile and test-provider.properties to ensure that the changes are made in both locations, Ideally JNDI connection would use the same system property that is used by QTC for starting the broker. However I don't believe that it is currently doing that. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@817295 13f79535-47bb-0310-9956-ffa450edef68
* Update to QpidTestCase to only check for broker.stopped lines until we have ↵Martin Ritchie2009-09-172-2/+4
| | | | | | found the ready line. Added broker.stopped line to cpp.testprofile 'Exception constructed' this identifies port conflict issues. Local testing has shown that this works as expected. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@816150 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2093: Updated AMQBRokerManagerMBean to check if the queue is durable ↵Martin Ritchie2009-09-112-2/+7
| | | | | | | | | | | before performing store.deleteQueue(). Created ModelTest to validate the change, (testDeletionDurableViaJMX). To facility the testing, extracted JMX Operations from ManagementActorLoggingTest to a new JMXTestUtils and updated both ModelTest and MALT to use this interface. Updated 010(cpp) and 08(Java-InVM) excludes as the CPP does not have JMX and the InVM JMX is unreliable (see QPID-2097) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@813801 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2092 : Corrected misspelling of SimpleMartin Ritchie2009-09-101-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@813476 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2092 Move test configuration to systest package and update to provide ↵Martin Ritchie2009-09-102-1/+8
| | | | | | | | | | | | | | | an more reliable way of adjusting the configuration form the test. In doing this it made sense to udpate the configurations such that they all inherit from the cannonical config.xml from the broker package. Each test now gets its own configuration file that is used to override the defaut values in config.xml. So the config is now a hierarchy of: - Test Specific - Systest adjustments - stock broker config.xml I have disabled the DerbyMessageStoreLoggingTest as after making this change it is more reliably throwing a Derby exception on broker startup. The other changes to the tests were to ensure they correctly save the Test Specific config file before loading. As for some reason, Commons Configuration is not abiding by the optional flag. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@813461 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2084,QPID-155 : Update excludes as 0-10 code path does not have same ↵Martin Ritchie2009-09-071-0/+6
| | | | | | error response git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@812083 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2081, QPID-155 : Updated AMQSession to allow queue/exchange decare to ↵Martin Ritchie2009-09-061-2/+0
| | | | | | be set on a per session basis git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@811748 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2081, QPID-155 : Corrected error in package name in excludeMartin Ritchie2009-09-051-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@811725 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2081, QPID-155 : Provide a test for Dynamic Queue/Exchange toggling and ↵Martin Ritchie2009-09-041-0/+2
| | | | | | fixed the issue with ChannelCloseExceptions by closing the channel and not sending the ChannelClose when the Channel has already been closed by the broker. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@811472 13f79535-47bb-0310-9956-ffa450edef68
* Added the BrokerStartupTest to 010ExcludesRajith Muditha Attapattu2009-08-181-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@805441 13f79535-47bb-0310-9956-ffa450edef68
* This commit allows a limited number of failover tests to run under the SSL ↵Rajith Muditha Attapattu2009-08-183-3/+8
| | | | | | | | | | | | 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-2002 : Excluded JMX testing from CPP brokerMartin Ritchie2009-08-131-0/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@803818 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2002 : Update the signal for when the broker is ready to be the new ↵Martin Ritchie2009-08-122-2/+2
| | | | | | | | BRK-1004 log message for the java profiles. qpid.ready=BRK-1004 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@803653 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2002 : Add VirtualHost logging and testing, again shutdown testing must ↵Martin Ritchie2009-08-091-0/+1
| | | | | | 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
* Add Derby StoreClose test to excludes due to QPID-2031Martin Ritchie2009-08-071-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@802119 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2033 : Added destroy for broker process that fails to startup. Also ↵Martin Ritchie2009-08-073-2/+5
| | | | | | | | 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
* Added ServerConfigurationFileTest to exclude as this test requires the ↵Martin Ritchie2009-08-071-0/+5
| | | | | | | | default server configuration file for validation. Rather than editing the config files that the other profiles use simplist to exclude the test. This doesn't reduce test coverage as this is testing configuration loading only. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@802115 13f79535-47bb-0310-9956-ffa450edef68