| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.5.x-dev@931465 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
| |
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
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.5.x-dev@900977 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
| |
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
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@821828 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@820932 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
0-8/0-9 client
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@820739 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@820322 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
the same way
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@819975 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
that appears during Java broker test runs
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@819594 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@813476 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
error response
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@812083 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
be set on a per session basis
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@811748 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@811725 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
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
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@805441 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@803818 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
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
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@802119 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
| |
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
|