summaryrefslogtreecommitdiff
path: root/java/test-profiles
Commit message (Collapse)AuthorAgeFilesLines
* I forgot to add the package names when adding the tests in r892119Rajith Muditha Attapattu2009-12-181-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@892304 13f79535-47bb-0310-9956-ffa450edef68
* The following tests exhibits randomly failures for the last 2 months or so.Rajith Muditha Attapattu2009-12-181-1/+7
| | | | | | | | | | | I am adding them to the Exclude list until they are fixed. FailoverBeforeConsumingRecoverTest QPID-2225 SimpleACLTest.testClientPublishInvalidQueueSuccess - QPID-2262 MINANetworkDriverTest - QPID-2224 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@892119 13f79535-47bb-0310-9956-ffa450edef68
* Changed the profile to use the new files names and the new CPPExculeds fileRajith Muditha Attapattu2009-12-121-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@889865 13f79535-47bb-0310-9956-ffa450edef68
* Updated exclude files to aline with the broker they work with.Martin Ritchie2009-12-0815-51/+57
| | | | | | The CPPExcludes file needs to be split in to a 010Excludes file so that the CPPExclude only contains test the CPP broker should not run and the 010Exclude contains tests that any 0-10 broker should exclude. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@888347 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. Excluded test from all cpp and InVM runs as test requires a 0-8/9 and 0-10 capable broker. Can reinstate to InVM when multiprotocol testing is capable. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@888345 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 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@888250 13f79535-47bb-0310-9956-ffa450edef68
* Add file to allow exclusion of tests from only the InVM default.testprofileRobert Gemmell2009-12-082-1/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@888246 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-071-2/+0
| | | | | | tables for the Destination type when JMS_QPID_DESTTYPE has not been set. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@887994 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1992 : Exclude message move test from CPP broker as it uses JMX.Martin Ritchie2009-12-072-1/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@887950 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2242 : Fixed 0-10 code path's getJMSDestination() updated ↵Martin Ritchie2009-12-071-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. Excluded test from 0-8 profile until the problem has been resolved git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@887948 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2184: make sure global security plugins are reconfigured properlyAidan Skinner2009-11-111-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 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@835115 13f79535-47bb-0310-9956-ffa450edef68
* QPID-143 : Disabled AcknowledgeAfter... Tests until the underlying Client ↵Martin Ritchie2009-10-281-2/+4
| | | | | | Close race conditions have been addressed git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@830487 13f79535-47bb-0310-9956-ffa450edef68
* Merged from java-broker-0-10 branchRobert Godfrey2009-10-253-4/+12
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@829675 13f79535-47bb-0310-9956-ffa450edef68
* Added the following test cases to the 010Excludes file to get the test ↵Rajith Muditha Attapattu2009-10-231-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/trunk/qpid@828907 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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@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/qpid@802115 13f79535-47bb-0310-9956-ffa450edef68
* Restored DerbyMessagStore testMartin Ritchie2009-08-071-2/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@802114 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2002 : Completion of BrokerLoggingTest, the shutdown tests have been ↵Martin Ritchie2009-08-061-0/+10
| | | | | | excluded due to QPID-2031. An update to the LogMessages.vm templates and ApplicationRegistry was requried. This is because BrokerMessages is loaded before the ApplicationRegistry is initialised. As a result the NullApplicationRegistry is created which should not be used. The AR is loaded to discover the current Locale. There were a couple of options here. Either always use the Default Locale and have the AR loading set that or add the ability to check if the AR has been configured. I chose the latter as knowing if an AR exists may be useful for our testing framework. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@801575 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2019 : Update Exclude mechanism so we can exclude the new logging tests ↵Martin Ritchie2009-08-031-0/+2
| | | | | | from the CPP broker git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@800439 13f79535-47bb-0310-9956-ffa450edef68
* added back another missing excludeRafael H. Schloming2009-07-301-0/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@799239 13f79535-47bb-0310-9956-ffa450edef68
* added missing excludeRafael H. Schloming2009-07-291-0/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@798907 13f79535-47bb-0310-9956-ffa450edef68