summaryrefslogtreecommitdiff
path: root/java/test-profiles
Commit message (Collapse)AuthorAgeFilesLines
* QPID-2097: Use the standard RMIServerSocketFactory for InVM testing to ↵Robert Gemmell2010-04-201-1/+0
| | | | | | workaround the alternating pass-fail issue encountered when running back to back tests using JMX with the InVM broker. Enable the ModelTest. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@935928 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2512Rajith Muditha Attapattu2010-04-161-0/+1
| | | | | | | | | Changed the default destination syntax to addressing. Added qpid.dest_syntax=BURL to the test profiles to ensure all existing tests work. At some point next week the existing binding URL based entries will be prefixed with "BURL:" and the above system property will be removed. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@934997 13f79535-47bb-0310-9956-ffa450edef68
* Added the following tests exclude list temporarily.Rajith Muditha Attapattu2010-04-161-0/+3
| | | | | | | | | The same tests are working well against the c++ broker. These tests are failling due to the commit made in rev934236 See QPID-2471 for more details. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@934995 13f79535-47bb-0310-9956-ffa450edef68
* Temporarily disabled the RecoverTests until properly investigated.Rajith Muditha Attapattu2010-04-151-0/+4
| | | | | | | | | The same tests are working well against the c++ broker. These tests are failling due to the commit made in rev934236 See QPID-2471 for more details. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@934556 13f79535-47bb-0310-9956-ffa450edef68
* Temporarily disabled the RecoverTests until properly investigated.Rajith Muditha Attapattu2010-04-151-0/+5
| | | | | | | | | The same tests are working well against the c++ broker. These tests are failling due to the commit made in rev934236 See QPID-2471 for more details. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@934287 13f79535-47bb-0310-9956-ffa450edef68
* Add a java-derby.0.10 test profileRobert Gemmell2010-04-011-0/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@929981 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2478: exclude testGetDestinationWithCustomExchange() from 0-8/9 runs ↵Robert Gemmell2010-04-013-1/+8
| | | | | | against the java broker git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@929980 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2360, QPID-2361: 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/trunk/qpid@929136 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2417 , QPID-2418 , QPID-2449 : expand topic testing, specifically ↵Robert Gemmell2010-03-302-3/+2
| | | | | | around the change and unsubscription of durable subscriptions git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@929095 13f79535-47bb-0310-9956-ffa450edef68
* Added the new certificates.Rajith Muditha Attapattu2010-03-2216-0/+99
| | | | | | | | The keystore now contains multiple certificates to enable testing of QPID-2447 It also indirectly tests part of QPID-2445 (retrieving of the client identity). git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@926383 13f79535-47bb-0310-9956-ffa450edef68
* Removed the old ssl certificates.Rajith Muditha Attapattu2010-03-228-33/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@926381 13f79535-47bb-0310-9956-ffa450edef68
* Added "testActiveTTLwithDurableSubscription" to the CPPExcludes listRajith Muditha Attapattu2010-03-081-1/+4
| | | | | | | Look at QPID-1575 for more details. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@920365 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2417: update exclude files with correct test name and locations to ↵Robert Gemmell2010-02-263-2/+4
| | | | | | allow running the DurableSubscriberTest on the derby profile once QPID-2422 is fixed git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@916730 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2417: add ability to run DurableSubscriberTest on the java-derby ↵Robert Gemmell2010-02-251-0/+1
| | | | | | profile once QPID-2422 is fixed git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@916358 13f79535-47bb-0310-9956-ffa450edef68
* This is related to QPID-1575Rajith Muditha Attapattu2010-02-172-2/+2
| | | | | | | | Lowering the queue cleaner interval in the broker does not seem to work properly. Therefore I am disabling the testActiveTTL test and removing the queue purge interval explictly set in the profile. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@910987 13f79535-47bb-0310-9956-ffa450edef68
* This is related to QPID-2404Rajith Muditha Attapattu2010-02-162-2/+2
| | | | | | | | | | | | | The C++ broker removes stales messages using the following strategies a) If a consumer requests a messages, it checks the head and discards it if it's expired b) Runs the queue cleaner thread every x (defaults to 5 mins) secs and discards stale messages. I enabled the TimeToLiveTest (by commenting it out) and reduced the --queue-purge-interval to 1 sec. This may interfere with other tests. If that happens I will try to increase above interval and the test timeout and see if we could get by. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@910777 13f79535-47bb-0310-9956-ffa450edef68
* I am disabling the WsDmAdapterTest by commenting out the code that adds the ↵Rajith Muditha Attapattu2010-02-061-2/+0
| | | | | | | | | | test cases to the test suite. This test is failing due to classpath issues related to Sun shipping a fairly old version of Apache Xalan jars. I also removed the entry from Excludes. I mistakenly added it there without realizing that this test doesn't extend from QpidTestCase git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@907146 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2346 : AcknowledgeAfterFailoverTest was putting more messages on the ↵Martin Ritchie2010-02-051-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 Merged change over from 0.5.x r901461 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@906895 13f79535-47bb-0310-9956-ffa450edef68
* Disabled the org.apache.qpid.management.wsdm.WsDmAdapterTestRajith Muditha Attapattu2010-02-041-0/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@906698 13f79535-47bb-0310-9956-ffa450edef68
* Added the property broker.languageRajith Muditha Attapattu2010-02-031-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@906099 13f79535-47bb-0310-9956-ffa450edef68
* The testing is failing on the c++ broker. Probably due to a slight ↵Rajith Muditha Attapattu2010-02-021-0/+2
| | | | | | | | | difference in semantics. I am temporarily disabling this test for the C++ broker test profiles. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@905491 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2379 : Initial work on adding QMF and federation to the Java BrokerRobert Godfrey2010-01-311-0/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@904934 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2349 : Fixed Protocol Version negotiation. The Negotiated protocol ↵Martin Ritchie2010-01-202-6/+4
| | | | | | | | | version was not given to the ProtocolSession. Once this is done the correct delegate is enabled on connection. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@901341 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2262 : Removed SALCT from from exclude list and added required null check.Martin Ritchie2010-01-191-2/+0
| | | | | | | Updated references to QPID-1204 to QPID-2345 which talks more to the issue of setting exception cause when the connection is closed by the broker. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@900943 13f79535-47bb-0310-9956-ffa450edef68
* 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