summaryrefslogtreecommitdiff
path: root/java/test-profiles/test-provider.properties
Commit message (Collapse)AuthorAgeFilesLines
* QPID-3343: refactor test profiles to allow testing within the same JVM for ↵Robert Gemmell2011-07-071-4/+0
| | | | | | | | all protocols, remove vm:// transport support and associated forked Mina classes Applied patch by Keith Wall and myself git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1143874 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1950 : Problem is that the thrown exception whilst an IOException does ↵Martin Ritchie2009-10-081-1/+1
| | | | | | 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
* 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
* FailoverBaseCase has not been using the testprofile defined test.port.alt ↵Martin Ritchie2009-09-211-4/+8
| | | | | | 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
* This commit allows a limited number of failover tests to run under the SSL ↵Rajith Muditha Attapattu2009-08-181-1/+5
| | | | | | | | | | | | 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
* moved test profiles and related resources into test-profiles subdirectoryRafael H. Schloming2009-07-081-0/+44
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@792157 13f79535-47bb-0310-9956-ffa450edef68